Merge branch 'saas-dev' into soundcloud
Conflicts: airtime_mvc/application/configs/constants.php
This commit is contained in:
commit
5cc8774e56
30 changed files with 194 additions and 182 deletions
|
@ -134,12 +134,15 @@ var AIRTIME = (function(AIRTIME){
|
|||
|
||||
mod.checkDeleteButton = function() {
|
||||
var $selected = $sbTable.find("tbody").find("input:checkbox").filter(":checked");
|
||||
|
||||
|
||||
var button = $("#show_builder").find(".icon-trash").parent(),
|
||||
DISABLED_CLASS = 'ui-state-disabled';
|
||||
if ($selected.length !== 0) {
|
||||
AIRTIME.button.enableButton("icon-trash", true);
|
||||
}
|
||||
else {
|
||||
AIRTIME.button.disableButton("icon-trash", true);
|
||||
button.removeClass(DISABLED_CLASS);
|
||||
button.removeAttr('disabled');
|
||||
} else {
|
||||
button.addClass(DISABLED_CLASS);
|
||||
button.attr('disabled', 'disabled');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue