File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ public function getUrl($type = null)
142142
143143 $ url = str_replace ('\\' ,'/ ' ,$ url );
144144
145- return $ url . ' / ' ;
145+ return $ url ;
146146 }
147147
148148
Original file line number Diff line number Diff line change @@ -347,10 +347,6 @@ function getFileUrl(file) {
347347 item_url = file_url;
348348 @endif
349349
350- if (path .indexOf (ds) === 0 ) {
351- path = path .substring (1 );
352- }
353-
354350 if (path != ds) {
355351 item_url = item_url + path + ds;
356352 }
@@ -383,7 +379,7 @@ function getFileUrl(file) {
383379 window .close ();
384380 }
385381 } else {
386- alert (' Fail to get image/file url, please contact developers .' );
382+ alert (' Editor not found, cannot apply image .' );
387383 }
388384}
389385// end useFile
You can’t perform that action at this time.
0 commit comments