fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Visual editor: changing tag/class via edit pane
[fnpeditor.git]
/
modules
/
tabsManager.js
diff --git
a/modules/tabsManager.js
b/modules/tabsManager.js
index
4103887
..
4ede9a0
100644
(file)
--- a/
modules/tabsManager.js
+++ b/
modules/tabsManager.js
@@
-26,10
+26,11
@@
rng.modules.tabsManager = function(sandbox) {
tabContent[prevSlug].detach();
\r
tabContent[slug].appendTo(view.find('#rng-tabsManager-content'));
\r
currentSlug = slug;
\r
tabContent[prevSlug].detach();
\r
tabContent[slug].appendTo(view.find('#rng-tabsManager-content'));
\r
currentSlug = slug;
\r
+ sandbox.publish('showed', slug);
\r
}
\r
\r
\r
}
\r
\r
\r
- view.on('click', 'li a', function(e) {
\r
+ view.on('click', '
#rng-tabsManager-tabBar
li a', function(e) {
\r
selectTab($(e.target).attr('href').substr(1));
\r
});
\r
\r
selectTab($(e.target).attr('href').substr(1));
\r
});
\r
\r