diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-03-21 02:20:06 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-03-21 02:20:15 +0100 |
commit | 3b35bd273a79f6b01fda7a246aed64aca147ea7a (patch) | |
tree | 5f259026b0771aceb2ad9a88619437ef1841d14c /release/plugins/link | |
parent | 7adcb81e4f83f98c468889aaa5a85558ba88c770 (diff) | |
download | connexionswing-ckeditor-component-master.tar.gz connexionswing-ckeditor-component-master.tar.zst connexionswing-ckeditor-component-master.zip |
Diffstat (limited to 'release/plugins/link')
-rw-r--r-- | release/plugins/link/dialogs/anchor.js | 2 | ||||
-rw-r--r-- | release/plugins/link/dialogs/link.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/plugins/link/dialogs/anchor.js b/release/plugins/link/dialogs/anchor.js index e47ee009..63372eb5 100644 --- a/release/plugins/link/dialogs/anchor.js +++ b/release/plugins/link/dialogs/anchor.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | 2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. |
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | 3 | For licensing, see LICENSE.md or http://ckeditor.com/license |
4 | */ | 4 | */ |
5 | CKEDITOR.dialog.add("anchor",function(c){function d(a,b){return a.createFakeElement(a.document.createElement("a",{attributes:b}),"cke_anchor","anchor")}return{title:c.lang.link.anchor.title,minWidth:300,minHeight:60,onOk:function(){var a=CKEDITOR.tools.trim(this.getValueOf("info","txtName")),a={id:a,name:a,"data-cke-saved-name":a};if(this._.selectedElement)this._.selectedElement.data("cke-realelement")?(a=d(c,a),a.replace(this._.selectedElement),CKEDITOR.env.ie&&c.getSelection().selectElement(a)): | 5 | CKEDITOR.dialog.add("anchor",function(c){function d(a,b){return a.createFakeElement(a.document.createElement("a",{attributes:b}),"cke_anchor","anchor")}return{title:c.lang.link.anchor.title,minWidth:300,minHeight:60,onOk:function(){var a=CKEDITOR.tools.trim(this.getValueOf("info","txtName")),a={id:a,name:a,"data-cke-saved-name":a};if(this._.selectedElement)this._.selectedElement.data("cke-realelement")?(a=d(c,a),a.replace(this._.selectedElement),CKEDITOR.env.ie&&c.getSelection().selectElement(a)): |
diff --git a/release/plugins/link/dialogs/link.js b/release/plugins/link/dialogs/link.js index b4c9048f..fcb4b64e 100644 --- a/release/plugins/link/dialogs/link.js +++ b/release/plugins/link/dialogs/link.js | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | 2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. |
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | 3 | For licensing, see LICENSE.md or http://ckeditor.com/license |
4 | */ | 4 | */ |
5 | (function(){CKEDITOR.dialog.add("link",function(g){var n=CKEDITOR.plugins.link,p=function(){var a=this.getDialog(),b=a.getContentElement("target","popupFeatures"),a=a.getContentElement("target","linkTargetName"),m=this.getValue();if(b&&a)switch(b=b.getElement(),b.hide(),a.setValue(""),m){case "frame":a.setLabel(g.lang.link.targetFrameName);a.getElement().show();break;case "popup":b.show();a.setLabel(g.lang.link.targetPopupName);a.getElement().show();break;default:a.setValue(m),a.getElement().hide()}}, | 5 | (function(){CKEDITOR.dialog.add("link",function(g){var n=CKEDITOR.plugins.link,p=function(){var a=this.getDialog(),b=a.getContentElement("target","popupFeatures"),a=a.getContentElement("target","linkTargetName"),m=this.getValue();if(b&&a)switch(b=b.getElement(),b.hide(),a.setValue(""),m){case "frame":a.setLabel(g.lang.link.targetFrameName);a.getElement().show();break;case "popup":b.show();a.setLabel(g.lang.link.targetPopupName);a.getElement().show();break;default:a.setValue(m),a.getElement().hide()}}, |