Optimize the form fields for create action

Remove the unused 'Nova network ID'. This field item is only
required when the 'Action' choose 'Restore' and the 'Mode' choose 'Nova'.

Change-Id: Iaa7225b44f7a62f28dad230e320d65f04bdcc2d4
Closes-Bug: #1662196
This commit is contained in:
qiaomin 2017-02-06 23:07:34 +08:00
parent 308b8c4d67
commit a40c839d5b
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ function hideEverything() {
$("#id_restore_from_host").closest(".form-group").hide();
$("#id_restore_from_date").closest(".form-group").hide();
$("#restore-warning").hide();
$("#id_nova_network_id").closest(".form-group").hide();
// Admin specific controls
$("#id_remove_older_than").closest(".form-group").hide();