This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
nextcloud
mirror of
https://github.com/nextcloud/server.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
994
Wiki
Activity
Browse Source
Catch double destroy on escape.
tags/v6.0.0alpha2
Thomas Tanghus
11 years ago
parent
afd723fdcd
commit
5f1cbc6a1a
1 changed files
with
3 additions
and
1 deletions
Split View
Show Diff Stats
3
1
core/js/oc-dialogs.js
+ 3
- 1
core/js/oc-dialogs.js
View File
@@ -129,7 +129,9 @@ var OCdialogs = {
modal: modal,
buttons: buttonlist,
close: function(event, ui) {
self.$filePicker.ocdialog('destroy').remove();
try {
$(this).ocdialog('destroy').remove();
} catch(e) {}
self.$filePicker = null;
}
});
Write
Preview
Loading…
Cancel
Save