projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a1dc3
)
Pman.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Apr 2011 08:58:15 +0000
(16:58 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 29 Apr 2011 08:58:15 +0000
(16:58 +0800)
Pman.js
patch
|
blob
|
history
diff --git
a/Pman.js
b/Pman.js
index
6210427
..
cf93e6d
100644
(file)
--- a/
Pman.js
+++ b/
Pman.js
@@
-753,13
+753,23
@@
Pman = new Roo.Document(
})
*
*/
- register : function(obj) {
+ register : function(obj)
+ {
+
+ // ignore registration of objects which are disabled.
+
+ if ( )
+ {
+
+ }
+
if (!obj.parent) {
if (obj.parent === false) {
//console.log('skip module (no parent)' + obj.modkey);
return;
}
-
+ // this is an error condition - the parent does not exist..
+ // technically it should not happen..
console.log(obj);
}
if (!obj.parent.modules) {