fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix in nodePane module
[fnpeditor.git]
/
modules
/
nodePane
/
nodePane.js
diff --git
a/modules/nodePane/nodePane.js
b/modules/nodePane/nodePane.js
index
47777b7
..
fc8284f
100644
(file)
--- a/
modules/nodePane/nodePane.js
+++ b/
modules/nodePane/nodePane.js
@@
-11,7
+11,7
@@
return function(sandbox) {
\r
view.on('change', 'select', function(e) {
\r
var target = $(e.target);
\r
\r
view.on('change', 'select', function(e) {
\r
var target = $(e.target);
\r
- var attr = target.attr('class').split('-')[
2].split('nodePane')[1].substr(0,3) === 'Tag
' ? 'tag' : 'class';
\r
+ var attr = target.attr('class').split('-')[
3] === 'tagSelect
' ? 'tag' : 'class';
\r
sandbox.publish('nodeChanged', attr, target.val());
\r
});
\r
\r
sandbox.publish('nodeChanged', attr, target.val());
\r
});
\r
\r