aboutsummaryrefslogtreecommitdiff
path: root/release/plugins/forms/dialogs/textfield.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/textfield.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/textfield.js')
-rw-r--r--release/plugins/forms/dialogs/textfield.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/plugins/forms/dialogs/textfield.js b/release/plugins/forms/dialogs/textfield.js
index 0d4e8ca5..ba95717d 100644
--- a/release/plugins/forms/dialogs/textfield.js
+++ b/release/plugins/forms/dialogs/textfield.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("textfield",function(b){function e(a){a=a.element;var b=this.getValue();b?a.setAttribute(this.id,b):a.removeAttribute(this.id)}function f(a){a=a.hasAttribute(this.id)&&a.getAttribute(this.id);this.setValue(a||"")}var g={email:1,password:1,search:1,tel:1,text:1,url:1};return{title:b.lang.forms.textfield.title,minWidth:350,minHeight:150,onShow:function(){delete this.textField;var a=this.getParentEditor().getSelection().getSelectedElement();!a||"input"!=a.getName()||!g[a.getAttribute("type")]&& 5CKEDITOR.dialog.add("textfield",function(b){function e(a){a=a.element;var b=this.getValue();b?a.setAttribute(this.id,b):a.removeAttribute(this.id)}function f(a){a=a.hasAttribute(this.id)&&a.getAttribute(this.id);this.setValue(a||"")}var g={email:1,password:1,search:1,tel:1,text:1,url:1};return{title:b.lang.forms.textfield.title,minWidth:350,minHeight:150,onShow:function(){delete this.textField;var a=this.getParentEditor().getSelection().getSelectedElement();!a||"input"!=a.getName()||!g[a.getAttribute("type")]&&