Commit aa81a6e6 authored by Prakhar Agarwal's avatar Prakhar Agarwal 🎯
Browse files

Added title to prop dialog

parent daf82a3f
......@@ -60,9 +60,10 @@ function create_window(cid, type, width, height, xpos, ypos, attr_array) {
$("#dialog-body").prepend(dialog_div.outerHTML)
$("#dialog-div").prepend(data)
if (f === "dialog_canvas.html") {
$("#dialog-title").text("Canvas Properties");
}
$("#dialog-modal").modal("show");
// initialize the dialog window
register_dialog(cid,attr_array);
});
......
......@@ -614,6 +614,7 @@ function cancel() {
//window.close(true);
if(pdgui.is_webapp()){
remove_dialog(pd_object_callback)
$("#dialog-modal").modal("hide");
}
pdgui.pdsend(pd_object_callback, "cancel");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment