Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nerrons
purr-data
Commits
62edc81a
Commit
62edc81a
authored
Jan 03, 2016
by
Jonathan Wilkes
Browse files
fix regression with dialog windows refusing to close
parent
673407ab
Changes
5
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_canvas.html
View file @
62edc81a
...
...
@@ -754,7 +754,7 @@ function add_events(name) {
//pdgui.pdsend(name + " menuclose 0");
//cancel();
pdgui
.
remove_dialogwin
(
pd_object_callback
);
this
.
close
(
true
);
gui
.
Window
.
get
()
.
close
(
true
);
});
pdgui
.
dialog_bindings
(
name
);
}
...
...
pd/nw/dialog_font.html
View file @
62edc81a
...
...
@@ -186,7 +186,7 @@ function add_events(name) {
//pdgui.pdsend(name, "menuclose 0");
//cancel();
pdgui
.
remove_dialogwin
(
pd_object_callback
);
this
.
close
(
true
);
gui
.
Window
.
get
()
.
close
(
true
);
});
pdgui
.
dialog_bindings
(
name
);
}
...
...
pd/nw/dialog_gatom.html
View file @
62edc81a
...
...
@@ -275,7 +275,7 @@ function add_events(name) {
//pdgui.pdsend(name, "menuclose 0");
//cancel();
pdgui
.
remove_dialogwin
(
pd_object_callback
);
this
.
close
(
true
);
gui
.
Window
.
get
()
.
close
(
true
);
});
pdgui
.
dialog_bindings
(
name
);
}
...
...
pd/nw/dialog_iemgui.html
View file @
62edc81a
...
...
@@ -559,7 +559,7 @@ function add_events(name) {
//pdgui.pdsend(name, "menuclose 0");
//cancel();
pdgui
.
remove_dialogwin
(
pd_object_callback
);
this
.
close
(
true
);
gui
.
Window
.
get
()
.
close
(
true
);
});
pdgui
.
dialog_bindings
(
name
);
}
...
...
pd/nw/dialog_prefs.html
View file @
62edc81a
...
...
@@ -634,7 +634,7 @@ function add_events(name) {
gui
.
Window
.
get
().
on
(
"
close
"
,
function
()
{
// this needs to do whatever the "cancel" button does
pdgui
.
remove_dialogwin
(
pd_object_callback
);
this
.
close
(
true
);
gui
.
Window
.
get
()
.
close
(
true
);
});
pdgui
.
dialog_bindings
(
name
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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