o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1316712755.645556PÊ: @value{I" class:EFI"BundledAsset; FI"id; F"%ee460ef0e5759874196006f67499c55fI"logical_path; FI"-ckeditor/plugins/forms/dialogs/button.js; TI" pathname; FI"\/Users/kris/Code/qwerty/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js; TI"content_type; FI"application/javascript; FI" mtime; FI"2011-09-13T20:23:26+01:00; FI" body; FI"ã/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add('button',function(a){function b(c){var e=this;var d=e.getValue();if(d){c.attributes[e.id]=d;if(e.id=='name')c.attributes['data-cke-saved-name']=d;}else{delete c.attributes[e.id];if(e.id=='name')delete c.attributes['data-cke-saved-name'];}};return{title:a.lang.button.title,minWidth:350,minHeight:150,onShow:function(){var e=this;delete e.button;var c=e.getParentEditor().getSelection().getSelectedElement();if(c&&c.is('input')){var d=c.getAttribute('type');if(d in {button:1,reset:1,submit:1}){e.button=c;e.setupContent(c);}}},onOk:function(){var c=this.getParentEditor(),d=this.button,e=!d,f=d?CKEDITOR.htmlParser.fragment.fromHtml(d.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element('input');this.commitContent(f);var g=new CKEDITOR.htmlParser.basicWriter();f.writeHtml(g);var h=CKEDITOR.dom.element.createFromHtml(g.getHtml(),c.document);if(e)c.insertElement(h);else{h.replace(d);c.getSelection().selectElement(h);}},contents:[{id:'info',label:a.lang.button.title,title:a.lang.button.title,elements:[{id:'name',type:'text',label:a.lang.common.name,'default':'',setup:function(c){this.setValue(c.data('cke-saved-name')||c.getAttribute('name')||'');},commit:b},{id:'value',type:'text',label:a.lang.button.text,accessKey:'V','default':'',setup:function(c){this.setValue(c.getAttribute('value')||'');},commit:b},{id:'type',type:'select',label:a.lang.button.type,'default':'button',accessKey:'T',items:[[a.lang.button.typeBtn,'button'],[a.lang.button.typeSbm,'submit'],[a.lang.button.typeRst,'reset']],setup:function(c){this.setValue(c.getAttribute('type')||'');},commit:b}]}]};}); ; FI"asset_paths; F[I"\/Users/kris/Code/qwerty/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js; TI"dependency_paths; F[{I" path; FI"\/Users/kris/Code/qwerty/app/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js; TI" mtime; FIu: Time ³á€ ]: @_zone"BST: offsetiI"hexdigest; F"%363208bcceda362234015900b579af6eI" _version; F"%97739329ce42ca4790d6d6355cef77c0