X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fconnexionswing-ckeditor-component.git;a=blobdiff_plain;f=release%2Fplugins%2Fforms%2Fdialogs%2Fbutton.js;fp=release%2Fplugins%2Fforms%2Fdialogs%2Fbutton.js;h=7e97b7e83b75db8296a275c07e36ae5de9716b69;hp=f43007e662d4c0d5bf01c57491dfdf8a9653209c;hb=3b35bd273a79f6b01fda7a246aed64aca147ea7a;hpb=7adcb81e4f83f98c468889aaa5a85558ba88c770 diff --git a/release/plugins/forms/dialogs/button.js b/release/plugins/forms/dialogs/button.js index f43007e6..7e97b7e8 100644 --- a/release/plugins/forms/dialogs/button.js +++ b/release/plugins/forms/dialogs/button.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("button",function(b){function d(a){var b=this.getValue();b?(a.attributes[this.id]=b,"name"==this.id&&(a.attributes["data-cke-saved-name"]=b)):(delete a.attributes[this.id],"name"==this.id&&delete a.attributes["data-cke-saved-name"])}return{title:b.lang.forms.button.title,minWidth:350,minHeight:150,onShow:function(){delete this.button;var a=this.getParentEditor().getSelection().getSelectedElement();a&&a.is("input")&&a.getAttribute("type")in{button:1,reset:1,submit:1}&&(this.button=