aboutsummaryrefslogtreecommitdiff
path: root/release/plugins/forms/dialogs/hiddenfield.js
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-03-21 02:20:06 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-03-21 02:20:15 +0100
commit3b35bd273a79f6b01fda7a246aed64aca147ea7a (patch)
tree5f259026b0771aceb2ad9a88619437ef1841d14c /release/plugins/forms/dialogs/hiddenfield.js
parent7adcb81e4f83f98c468889aaa5a85558ba88c770 (diff)
downloadconnexionswing-ckeditor-component-master.tar.gz
connexionswing-ckeditor-component-master.tar.zst
connexionswing-ckeditor-component-master.zip
Upgrade to 4.5.7 and add some pluginHEAD4.5.7master
Diffstat (limited to 'release/plugins/forms/dialogs/hiddenfield.js')
-rw-r--r--release/plugins/forms/dialogs/hiddenfield.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/plugins/forms/dialogs/hiddenfield.js b/release/plugins/forms/dialogs/hiddenfield.js
index b021ccfb..2c7528d0 100644
--- a/release/plugins/forms/dialogs/hiddenfield.js
+++ b/release/plugins/forms/dialogs/hiddenfield.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("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type")&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name"), 5CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type")&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name"),