Skip to content

Commit a189eb6

Browse files
author
Jessica Wang
committed
bug 8244: Add Host dialog in Resource page - hide info_container when clicking Submit button.
1 parent 5b073cd commit a189eb6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ui/scripts/cloud.core.resource.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -887,9 +887,8 @@ function initAddHostShortcut() {
887887
.dialog('option', 'buttons', {
888888
"Add": function() {
889889
var $thisDialog = $(this);
890-
891-
//var clusterRadio = $thisDialog.find("input[name=cluster]:checked").val();
892-
890+
$thisDialog.find("#info_container").hide();
891+
893892
// validate values
894893
var isValid = true;
895894
isValid &= validateDropDownBox("Zone", $thisDialog.find("#zone_dropdown"), $thisDialog.find("#zone_dropdown_errormsg"));

0 commit comments

Comments
 (0)