Disable all inputs and Ok button when Ok button is clicked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
940450f8c1
commit
170db879eb
@ -1106,7 +1106,8 @@ function loadUnlockPage(tgtNodes) {
|
||||
// Show status bar
|
||||
statusBar.show();
|
||||
|
||||
// Disable Ok button
|
||||
// Disable all inputs and Ok button
|
||||
$('#' + newTabId + ' input').attr('disabled', 'disabled');
|
||||
$(this).attr('disabled', 'true');
|
||||
} else {
|
||||
// Show warning message
|
||||
|
@ -171,7 +171,9 @@ function loadNodesetPage(tgtNodes) {
|
||||
var arch = $('#' + tabId + ' input[name=arch]').val();
|
||||
var profile = $('#' + tabId + ' input[name=profile]').val();
|
||||
|
||||
// Disable Ok button
|
||||
// Disable all inputs, selects, and Ok button
|
||||
inputs.attr('disabled', 'disabled');
|
||||
$('#' + tabId + ' select').attr('disabled', 'disabled');
|
||||
$(this).attr('disabled', 'true');
|
||||
|
||||
/**
|
||||
|
@ -164,7 +164,8 @@ function loadNetbootPage(tgtNodes) {
|
||||
optStr += 'ipl=' + ipl.val();
|
||||
}
|
||||
|
||||
// Disable Ok button
|
||||
// Disable all inputs and Ok button
|
||||
$('#' + newTabId + ' input').attr('disabled', 'disabled');
|
||||
$(this).attr('disabled', 'true');
|
||||
|
||||
/**
|
||||
|
@ -346,7 +346,8 @@ function loadUpdatenodePage(tgtNodes) {
|
||||
// Get nodes
|
||||
var tgts = $('#' + newTabId + ' input[name=target]').val();
|
||||
|
||||
// Disable Ok button
|
||||
// Disable all inputs and Ok button
|
||||
$('#' + newTabId + ' input').attr('disabled', 'disabled');
|
||||
$(this).attr('disabled', 'true');
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user