X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=plugins%2Fforms%2Fdialogs%2Ftextfield.js;fp=plugins%2Fforms%2Fdialogs%2Ftextfield.js;h=46b006e2cddce15120dfb8f227baab7772d8411f;hp=f855d24399d09cc9a85b638a65ed0898f0bd7fdf;hb=aedb6521c23a81ccb889827a7ccc7b42eb93d14f;hpb=d330efeb22fbe5f5883c29ff0149f7b5a0040bbc diff --git a/plugins/forms/dialogs/textfield.js b/plugins/forms/dialogs/textfield.js index f855d24..46b006e 100644 --- a/plugins/forms/dialogs/textfield.js +++ b/plugins/forms/dialogs/textfield.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.dialog.add("textfield",function(b){function e(a){var a=a.element,c=this.getValue();c?a.setAttribute(this.id,c):a.removeAttribute(this.id)}function f(a){this.setValue(a.hasAttribute(this.id)&&a.getAttribute(this.id)||"")}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();if(a&&"input"==a.getName()&&(g[a.getAttribute("type")]||