Roo/bootstrap/ComboBox.js
authorAlan Knowles <alan@roojs.com>
Mon, 21 Mar 2016 04:03:13 +0000 (12:03 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Mar 2016 04:03:13 +0000 (12:03 +0800)
Roo/bootstrap/ComboBox.js

index 2bd0677..29a5b6e 100644 (file)
@@ -509,7 +509,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             
             // remove this element....
             var e = this.el.dom, k=0;
-            while (false !=( e = e.previousSibling)) { ++k;}
+            while (e ) { e = e.previousSibling;  ++k;}
 
             this.el.remove();