projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7148c
)
Pman.js
author
Alan Knowles
<alan@akbkhome.com>
Sat, 31 Mar 2012 08:51:54 +0000
(16:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 31 Mar 2012 08:51:54 +0000
(16:51 +0800)
Pman.js
patch
|
blob
|
history
diff --git
a/Pman.js
b/Pman.js
index
78227f4
..
3caba9e
100644
(file)
--- a/
Pman.js
+++ b/
Pman.js
@@
-831,6
+831,11
@@
Pman = new Roo.Document(
return;
}
+
+ if (obj.parent === Pman) {
+ obj.parent = Pman.fakeRoot;
+ }
+
if (typeof(obj.parent) == 'undefined') {
console.log("Parent is undefined");
console.log(obj);