Ticket #6085: filebrowser-url-function.diff
File filebrowser-url-function.diff, 650 bytes (added by , 14 years ago) |
---|
-
_source/plugins/filebrowser/plugin.js
old new 172 172 params.CKEditorFuncNum = editor._.filebrowserFn; 173 173 if ( !params.langCode ) 174 174 params.langCode = editor.langCode; 175 176 var url = addQueryString( this.filebrowser.url, params ); 177 editor.popup( url, width, height ); 175 if(typeof this.filebrowser.url == 'function' ){ 176 this.filebrowser.url(params); 177 }else{ 178 var url = addQueryString( this.filebrowser.url, params ); 179 editor.popup( url, width, height ); 180 } 178 181 } 179 182 180 183 /**