Skip to content

Commit

Permalink
Issue #70 Disabled finish button while adding an adapter.
Browse files Browse the repository at this point in the history
Signed-off-by: Megha Smriti <[email protected]>
  • Loading branch information
mesmriti authored and danielhb committed Feb 1, 2017
1 parent 0bd5b24 commit 2532096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/js/src/gingers390x.network.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ gingers390x.enableNetworksCompleted = function(opts) {
if (!($('#nw-osa-port-button', $(this)).length))
gingers390x.addOSAportButton();
});
$('#s390x-network-finish').prop("disabled", false);
}

gingers390x.finishAction = function(opts) {
Expand Down Expand Up @@ -550,6 +551,7 @@ gingers390x.initNetworkAddOsaPort = function() {
opts['containerId'] = 'network-content-container';
opts['gridId'] = "network-table-grid";
$('#osaport-add-submit').on('click', function(event) {
$('#s390x-network-finish').prop("disabled", true);
$(this).attr('data-dismiss', 'modal');
var osaval = $('#add-osaportType').val();
gingers390x.disableActionButton();
Expand Down

0 comments on commit 2532096

Please sign in to comment.