Roo/form/ComboBox.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 11 Aug 2010 06:34:29 +0000 (14:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 11 Aug 2010 06:34:29 +0000 (14:34 +0800)
Roo/form/ComboBox.js

index e8b368a..e5ead0f 100644 (file)
@@ -407,9 +407,9 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
        
             this.addicon.on('click', function(e) {
                 if (this.lastData) {
+                    // should we fire if nothing is selected..
                     this.fireEvent('edit', this, this.lastData );
                 }
-                
             }, this);
         }