Skip to content

Commit 4d24ab1

Browse files
committed
Keep the domain name for urls of uploaded files.
1 parent 0e0c51d commit 4d24ab1

File tree

1 file changed

+2
-2
lines changed
  • ckeditor/static/ckeditor/ckeditor/plugins/slideshow/dialogs

1 file changed

+2
-2
lines changed

ckeditor/static/ckeditor/ckeditor/plugins/slideshow/dialogs/slideshow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,10 +873,10 @@ CKEDITOR.dialog.add('slideshowDialog', function(editor) {
873873
liObj = ulObj.append('li');
874874
liObj.setAttribute('contenteditable', 'false');
875875
aObj = liObj.append('a');
876-
aObj.setAttribute('href', removeDomainFromUrl(dialog.imagesList[i][IMG_PARAM.URL]));
876+
aObj.setAttribute('href', dialog.imagesList[i][IMG_PARAM.URL]);
877877
aObj.setAttribute('contenteditable', 'false');
878878
newImgDOM = aObj.append('img');
879-
newImgDOM.setAttribute('src', removeDomainFromUrl(dialog.imagesList[i][IMG_PARAM.URL]));
879+
newImgDOM.setAttribute('src', dialog.imagesList[i][IMG_PARAM.URL]);
880880
newImgDOM.setAttribute('title', dialog.imagesList[i][IMG_PARAM.TITLE]);
881881
newImgDOM.setAttribute('alt', dialog.imagesList[i][IMG_PARAM.ALT]);
882882
newImgDOM.setAttribute('contenteditable', 'false');

0 commit comments

Comments
 (0)