Ticket #2625: mediaLibraryJsError.patch
| File mediaLibraryJsError.patch, 0.6 kB (added by notjosh, 1 year ago) |
|---|
-
main.js
old new 34 34 tinyMCE.setWindowArg('editor_id', this.fileBrowserWindowArg); 35 35 if (this.fileBrowserType == 'image') 36 36 { 37 this.fileBrowserWin.showPreviewImage(url); 37 try 38 { 39 this.fileBrowserWin.showPreviewImage(url); 40 } 41 catch (ex) 42 { 43 } 38 44 } 39 45 } 40 46 this.fileBrowserWin.document.forms[this.fileBrowserFormName].elements[this.fileBrowserFieldName].value = url;