X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=plugins%2Fforms%2Fdialogs%2Ftextfield.js;h=fdedd5047674ca3f34da2445cf7ec0c1257f3b64;hp=46b006e2cddce15120dfb8f227baab7772d8411f;hb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;hpb=dc5b273b4cbd7e7d0167499e7649867ba2a5b408 diff --git a/plugins/forms/dialogs/textfield.js b/plugins/forms/dialogs/textfield.js index 46b006e..fdedd50 100644 --- a/plugins/forms/dialogs/textfield.js +++ b/plugins/forms/dialogs/textfield.js @@ -1,5 +1,5 @@ /* - Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. + Copyright (c) 2003-2015, 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")]||