Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
aa81a6e6
Commit
aa81a6e6
authored
Jun 25, 2021
by
Prakhar Agarwal
🎯
Browse files
Added title to prop dialog
parent
daf82a3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
emscripten/project/purr-data/index.js
View file @
aa81a6e6
...
...
@@ -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
);
});
...
...
pd/nw/dialog_canvas.html
View file @
aa81a6e6
...
...
@@ -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
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment