try and get ctrl-enter to add a clear all
[roojs1] / Roo / CompositeElement.js
index 86e1a83..aca0255 100644 (file)
@@ -37,7 +37,9 @@ Roo.CompositeElement = function(els){
 Roo.CompositeElement.prototype = {
     isComposite: true,
     addElements : function(els){
-        if(!els) return this;
+        if(!els) {
+            return this;
+        }
         if(typeof els == "string"){
             els = Roo.Element.selectorFunction(els);
         }