svn: /web/doc-editor/trunk/js/ui/cmp/ PatchPrompt.js

From: Date: Sat, 23 Jul 2011 08:44:48 +0000
Subject: svn: /web/doc-editor/trunk/js/ui/cmp/ PatchPrompt.js
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2144@lists.php.net to get a copy of this message
yannick Sat, 23 Jul 2011 08:44:48 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313622 Log: This class is no more used by the editor Changed paths: D web/doc-editor/trunk/js/ui/cmp/PatchPrompt.js Deleted: web/doc-editor/trunk/js/ui/cmp/PatchPrompt.js =================================================================== --- web/doc-editor/trunk/js/ui/cmp/PatchPrompt.js 2011-07-23 07:58:32 UTC (rev 313621) +++ web/doc-editor/trunk/js/ui/cmp/PatchPrompt.js 2011-07-23 08:44:48 UTC (rev 313622) @@ -1,62 +0,0 @@ -Ext.namespace('ui','ui.cmp'); - -// config - {defaultEmail, prefix, ftype, fid, fpath, fname, lang} -ui.cmp.PatchPrompt = Ext.extend(Ext.Window, -{ - title : _('Do you want to be alerted ?'), - iconCls : 'iconPatchAlert', - layout : 'form', - bodyStyle : 'padding: 5px;', - labelWidth : 50, - width : 350, - height : 150, - resizable : false, - modal : true, - autoScroll : true, - - initComponent : function() - { - Ext.apply(this, - { - items : [{ - xtype : 'panel', - baseCls : 'x-plain', - bodyStyle : 'padding-bottom: 10px;', - html : _('If you want to be notified when your patch will be dealt with, thank you to leave an email address below.') - }, { - id : 'patch-email-alert', - xtype : 'textfield', - name : 'patch-email-alert', - fieldLabel : _('Email'), - anchor : '100%', - value : this.defaultEmail - }], - buttons : [{ - scope : this, - text : _('Save'), - handler : function() - { - new ui.task.SavePatchTask({ - prefix : this.prefix, - fid : this.fid, - ftype : this.ftype, - lang : this.lang, - fpath : this.fpath, - fname : this.fname, - email : Ext.getCmp('patch-email-alert').getValue() - }); - - this.close(); - } - }, { - scope : this, - text : _('Cancel'), - handler : function() - { - this.close(); - } - }] - }); - ui.cmp.PatchPrompt.superclass.initComponent.call(this); - } -}); \ No newline at end of file

« previous php.doc.web (#2144) next »