CC-3463 : Usability of timeline
changing buttons to be jquery ui icons. adding button to trim overbooked adding button toscroll current item to top.
This commit is contained in:
parent
13bbdc327e
commit
711d1f202a
9 changed files with 223 additions and 150 deletions
|
@ -8,8 +8,18 @@ var AIRTIME = (function(AIRTIME){
|
|||
}
|
||||
mod = AIRTIME.button;
|
||||
|
||||
mod.isDisabled = function(c) {
|
||||
var button = $("."+c);
|
||||
|
||||
if (button.hasClass(DISABLED_CLASS)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
mod.enableButton = function(c) {
|
||||
var button = $("."+c).find("button");
|
||||
var button = $("."+c);
|
||||
|
||||
if (button.hasClass(DISABLED_CLASS)) {
|
||||
button.removeClass(DISABLED_CLASS);
|
||||
|
@ -17,7 +27,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
};
|
||||
|
||||
mod.disableButton = function(c) {
|
||||
var button = $("."+c).find("button");
|
||||
var button = $("."+c);
|
||||
|
||||
if (!button.hasClass(DISABLED_CLASS)) {
|
||||
button.addClass(DISABLED_CLASS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue