aboutsummaryrefslogtreecommitdiff
path: root/release/plugins/link
diff options
context:
space:
mode:
Diffstat (limited to 'release/plugins/link')
-rw-r--r--release/plugins/link/dialogs/anchor.js2
-rw-r--r--release/plugins/link/dialogs/link.js2
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*/
5CKEDITOR.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)): 5CKEDITOR.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()}},