Project

General

Profile

« Previous | Next » 

Revision f3f39194

Added by Paul Kelly almost 13 years ago

  • ID f3f39194f349c6575c87efe0c0cb989b4818b2a6

Fixes #1020 - edit multiple ok button

Signed-off-by: Paul Kelly <>

View differences:

public/javascripts/host_checkbox.js
return false;
}
function toggle_multiple_ok_button(elem){
var b = $("#multiple-ok", $(elem).closest("div.ui-dialog"));
if (elem.value != 'disabled') {
b.removeClass("ui-state-disabled").attr("disabled", false);
}else{
b.addClass("ui-state-disabled").attr("disabled", true);
}
}
// updates the form URL based on the action selection
function submit_multiple(path) {
var url = path + "?" + $.param({host_ids: $.foremanSelectedHosts});

Also available in: Unified diff