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/forms/dialogs/radio.js | |
parent | 7adcb81e4f83f98c468889aaa5a85558ba88c770 (diff) | |
download | connexionswing-ckeditor-component-4.5.7.tar.gz connexionswing-ckeditor-component-4.5.7.tar.zst connexionswing-ckeditor-component-4.5.7.zip |
Diffstat (limited to 'release/plugins/forms/dialogs/radio.js')
-rw-r--r-- | release/plugins/forms/dialogs/radio.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/plugins/forms/dialogs/radio.js b/release/plugins/forms/dialogs/radio.js index ae9449ab..8cd3bf49 100644 --- a/release/plugins/forms/dialogs/radio.js +++ b/release/plugins/forms/dialogs/radio.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("radio",function(b){return{title:b.lang.forms.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){delete this.radioButton;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"input"==a.getName()&&"radio"==a.getAttribute("type")&&(this.radioButton=a,this.setupContent(a))},onOk:function(){var a,c=this.radioButton,b=!c;b&&(a=this.getParentEditor(),c=a.document.createElement("input"),c.setAttribute("type","radio"));b&&a.insertElement(c);this.commitContent({element:c})}, | 5 | CKEDITOR.dialog.add("radio",function(b){return{title:b.lang.forms.checkboxAndRadio.radioTitle,minWidth:350,minHeight:140,onShow:function(){delete this.radioButton;var a=this.getParentEditor().getSelection().getSelectedElement();a&&"input"==a.getName()&&"radio"==a.getAttribute("type")&&(this.radioButton=a,this.setupContent(a))},onOk:function(){var a,c=this.radioButton,b=!c;b&&(a=this.getParentEditor(),c=a.document.createElement("input"),c.setAttribute("type","radio"));b&&a.insertElement(c);this.commitContent({element:c})}, |