X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/cf92775489840f1dc7b2c65fae6b968beadbad7e..6c473f4c60fdc93c908b537ff71a5d77bc2ad98b:/modules/mainBar/mainBar.js?ds=inline diff --git a/modules/mainBar/mainBar.js b/modules/mainBar/mainBar.js index 75fd599..084f675 100644 --- a/modules/mainBar/mainBar.js +++ b/modules/mainBar/mainBar.js @@ -18,6 +18,9 @@ return function(sandbox) { getView: function() {return view;}, setCommandEnabled: function(cmd, enabled) { view.find('[data-cmd='+cmd+']').toggleClass('disabled', !enabled); + }, + setVersion: function(version) { + view.find('.version').text(version); } }