Project

General

Profile

« Previous | Next » 

Revision a6bbe3d7

Added by Ohad Levy over 11 years ago

  • ID a6bbe3d77f63f7352ef79918b1a7e97eeb9d4ea5

hosts mulitple

View differences:

public/javascripts/host_checkbox.js
}
function toggle_multiple_ok_button(elem){
var b = $("#multiple-ok", $(elem).closest("div.ui-dialog"));
var b = $("#confirmation-modal .btn-primary");
if (elem.value != 'disabled')
b.removeClass("disabled").attr("disabled", false);
else
......
function(response, status, xhr) {
$("#loading").hide();
$('#submit_multiple').val('');
});
var b = $("#confirmation-modal .btn-primary");
if ($(response).find('#content form select').size() > 0)
b.addClass("disabled").attr("disabled", true);
else
b.removeClass("disabled").attr("disabled", false);
});
return false;
});

Also available in: Unified diff