fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Layout informs its views on being shown
[fnpeditor.git]
/
modules
/
mainBar
/
mainBar.js
diff --git
a/modules/mainBar/mainBar.js
b/modules/mainBar/mainBar.js
index
75fd599
..
084f675
100644
(file)
--- a/
modules/mainBar/mainBar.js
+++ b/
modules/mainBar/mainBar.js
@@
-18,6
+18,9
@@
return function(sandbox) {
getView: function() {return view;},
\r
setCommandEnabled: function(cmd, enabled) {
\r
view.find('[data-cmd='+cmd+']').toggleClass('disabled', !enabled);
\r
+ },
\r
+ setVersion: function(version) {
\r
+ view.find('.version').text(version);
\r
}
\r
}
\r
\r