X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fconnexionswing-ckeditor-component.git;a=blobdiff_plain;f=release%2Fplugins%2Flink%2Fdialogs%2Fanchor.js;h=63372eb57a949fbd2a77fdbf22311b2828c759e6;hp=e47ee00904e1dc3a7a4c728fa832fadbfc0c40a8;hb=3b35bd273a79f6b01fda7a246aed64aca147ea7a;hpb=7adcb81e4f83f98c468889aaa5a85558ba88c770 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 @@ /* - Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ 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)):