fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing unused code
[fnpeditor.git]
/
modules
/
nodeBreadCrumbs
/
nodeBreadCrumbs.js
diff --git
a/modules/nodeBreadCrumbs/nodeBreadCrumbs.js
b/modules/nodeBreadCrumbs/nodeBreadCrumbs.js
index
1db8a22
..
4a787f4
100644
(file)
--- a/
modules/nodeBreadCrumbs/nodeBreadCrumbs.js
+++ b/
modules/nodeBreadCrumbs/nodeBreadCrumbs.js
@@
-22,6
+22,7
@@
return function(sandbox) {
});
\r
this.dom.on('click', 'a', function(e) {
\r
e.preventDefault();
\r
});
\r
this.dom.on('click', 'a', function(e) {
\r
e.preventDefault();
\r
+ var target = $(e.target);
\r
sandbox.publish('nodeSelected', target.attr('data-id'));
\r
});
\r
},
\r
sandbox.publish('nodeSelected', target.attr('data-id'));
\r
});
\r
},
\r