Roo/form/ComboBoxEditing.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 11 Aug 2010 06:10:28 +0000 (14:10 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 11 Aug 2010 06:10:28 +0000 (14:10 +0800)
Roo/form/ComboBoxEditing.js [deleted file]

diff --git a/Roo/form/ComboBoxEditing.js b/Roo/form/ComboBoxEditing.js
deleted file mode 100644 (file)
index 1b183cf..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright(c) 2010 RooJSolutions
- * Licence LGPL
- *
- * <script type="text/javascript">
- */
-
-/**
- * @class Roo.form.ComboBoxEditing
- * @extends Roo.form.ComboBox
- * Add on to the combobox with support
- * @constructor
- * Create a new ComboBox.
- * @param {Object} config Configuration options
- */
-Ext.form.ComboBoxAdder = function(config){
-    
-    Ext.form.ComboBoxAdder.superclass.constructor.call(this, config);
-    this.on('select', function(cb, rec, ix) {
-        cb.lastData = rec.data;
-    });
-    this.addEvents({
-        'adderclick' : true
-    });
-}
-Ext.extend(Ext.form.ComboBoxAdder, Ext.form.ComboBox, { 
-    lastData : false,
-    //onAddClick: function() { },
-    
-    onRender : function(ct, position) 
-    {
-        Ext.form.ComboBoxAdder.superclass.onRender.call(this, ct, position); 
-        this.adder = this.wrap.createChild(
-            {tag: 'img', src: Ext.BLANK_IMAGE_URL, cls: 'x-form-adder' });  
-        var _t = this;
-        this.adder.on('click', function(e) {
-            _t.fireEvent('adderclick', this, e);
-        }, _t);
-        //this.adder.on('click', this.onAddClick, _t);
-    }
-    
-});
\ No newline at end of file