Roo/Document.js
[roojs1] / Roo / Document.js
index eec0420..1628d81 100644 (file)
@@ -147,7 +147,7 @@ Roo.extend(Roo.Document, Roo.util.Observable, {
             obj.parent = toObject(obj.parent);
              
             if (!obj.parent.modules) {
-                obj.parent.modules = new Roo.util.MixedCollection(false, function(o) { return o.order });
+                obj.parent.modules = new Roo.util.MixedCollection(false, function(o) { return o.order + '' });
             }
             
             obj.parent.modules.add(obj);