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)
142
142
143
143
$ url = str_replace ('\\' ,'/ ' ,$ url );
144
144
145
- return $ url . ' / ' ;
145
+ return $ url ;
146
146
}
147
147
148
148
Original file line number Diff line number Diff line change @@ -347,10 +347,6 @@ function getFileUrl(file) {
347
347
item_url = file_url;
348
348
@endif
349
349
350
- if (path .indexOf (ds) === 0 ) {
351
- path = path .substring (1 );
352
- }
353
-
354
350
if (path != ds) {
355
351
item_url = item_url + path + ds;
356
352
}
@@ -383,7 +379,7 @@ function getFileUrl(file) {
383
379
window .close ();
384
380
}
385
381
} else {
386
- alert (' Fail to get image/file url, please contact developers .' );
382
+ alert (' Editor not found, cannot apply image .' );
387
383
}
388
384
}
389
385
// end useFile
You can’t perform that action at this time.
0 commit comments