Added some animation for user bar

This commit is contained in:
John McLear 2011-03-26 14:50:13 +00:00
parent 407fdb0486
commit 6d2bfc647b

View file

@ -78,6 +78,10 @@ var padeditbar = (function(){
}, },
toolbarClick: function(cmd) { toolbarClick: function(cmd) {
if (self.isEnabled()) { if (self.isEnabled()) {
if (cmd == 'showusers') {
$('#editbar').animate({height:'72px'});
$('#editorcontainerbox').animate({top:'72px'});
}
if (cmd == 'save') { if (cmd == 'save') {
padsavedrevs.saveNow(); padsavedrevs.saveNow();
} else { } else {
@ -119,4 +123,4 @@ var padeditbar = (function(){
} }
}; };
return self; return self;
}()); }());