Roo/bootstrap/CheckBox.js
authoredward <edward@roojs.com>
Wed, 30 Sep 2015 08:07:59 +0000 (16:07 +0800)
committeredward <edward@roojs.com>
Wed, 30 Sep 2015 08:07:59 +0000 (16:07 +0800)
Roo/bootstrap/CheckBox.js

index 2226a5b..69c0a45 100644 (file)
@@ -349,13 +349,12 @@ Roo.apply(Roo.bootstrap.CheckBox, {
     },
     /**
     * fetch a CheckBox Group based on the group ID
-    * if one does not exist , it will get created.
     * @param {string} the group ID
     * @returns {Roo.bootstrap.CheckBox} the CheckBox group
     */
     get: function(groupId) {
         if (typeof(this.groups[groupId]) == 'undefined') {
-            this.register(new Roo.bootstrap.CheckBox({ groupId : groupId }));
+            return false;
         }
         
         return this.groups[groupId] ;