X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=plugins%2Fforms%2Fdialogs%2Fform.js;h=396baf5d82dd4b8827372e9bc7091969d7d35720;hp=862671850479255b9de3dd621bce3dc02cbb289d;hb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;hpb=dc5b273b4cbd7e7d0167499e7649867ba2a5b408 diff --git a/plugins/forms/dialogs/form.js b/plugins/forms/dialogs/form.js index 8626718..396baf5 100644 --- a/plugins/forms/dialogs/form.js +++ b/plugins/forms/dialogs/form.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("form",function(a){var d={action:1,id:1,method:1,enctype:1,target:1};return{title:a.lang.forms.form.title,minWidth:350,minHeight:200,onShow:function(){delete this.form;var b=this.getParentEditor().elementPath().contains("form",1);b&&(this.form=b,this.setupContent(b))},onOk:function(){var b,a=this.form,c=!a;c&&(b=this.getParentEditor(),a=b.document.createElement("form"),a.appendBogus());c&&b.insertElement(a);this.commitContent(a)},onLoad:function(){function a(b){this.setValue(b.getAttribute(this.id)||