fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: auto http:// prefix for links
[fnpeditor.git]
/
src
/
editor
/
modules
/
metadataEditor
/
metadataEditor.js
diff --git
a/src/editor/modules/metadataEditor/metadataEditor.js
b/src/editor/modules/metadataEditor/metadataEditor.js
index
1088247
..
70df62e
100644
(file)
--- a/
src/editor/modules/metadataEditor/metadataEditor.js
+++ b/
src/editor/modules/metadataEditor/metadataEditor.js
@@
-191,7
+191,7
@@
return function(sandbox) {
if(event.type === 'metadataRemoved' && event.meta.node.sameNode(currentNode)) {
view.removeMetadataRow(event.meta.row);
}
if(event.type === 'metadataRemoved' && event.meta.node.sameNode(currentNode)) {
view.removeMetadataRow(event.meta.row);
}
- if(event.type === 'nodeDetached' && event.meta.node.
same
Node(currentNode)) {
+ if(event.type === 'nodeDetached' && event.meta.node.
contains
Node(currentNode)) {
view.setMetadata(null);
}
});
view.setMetadata(null);
}
});