We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32e4e43 commit d0d4416Copy full SHA for d0d4416
assets/components/tinymce/tiny.browser.js
@@ -16,11 +16,21 @@ Tiny.browserCallback = function(data) {
16
win.ImageDialog.showPreviewImage(url);
17
}
18
19
+ /* close */
20
+ this.close();
21
+ },
22
+ close: function () {
23
/* close popup window */
24
tinyMCEPopup.close();
25
win.focus(); win.document.focus();
26
27
};
28
+
29
+ if (data === null) {
30
+ FileBrowserDialogue.close();
31
+ return;
32
+ }
33
34
var fileUrl;
35
if (inRevo20) {
36
fileUrl = unescape(data.relativeUrl);
0 commit comments