mirror of https://github.com/apache/cloudstack.git
CS-14679
Fix label on primary storage required 'path' field
This commit is contained in:
parent
6b1f87fb80
commit
786c92591d
|
|
@ -914,6 +914,9 @@
|
|||
var $form = $(this).closest('form');
|
||||
|
||||
var protocol = $(this).val();
|
||||
|
||||
$form.find('[rel=path]').find(".name").find("label").html('<span class=\"field-required\">*</span>Path:');
|
||||
|
||||
if(protocol == null)
|
||||
return;
|
||||
|
||||
|
|
@ -926,7 +929,7 @@
|
|||
//$('li[input_group="nfs"]', $dialogAddPool).show();
|
||||
$form.find('[rel=path]').css('display', 'block');
|
||||
//$dialogAddPool.find("#add_pool_path_container").find("label").text(g_dictionary["label.path"]+":");
|
||||
$form.find('[rel=path]').find(".name").find("label").text("Path:");
|
||||
//$form.find('[rel=path]').find(".name").find("label").text("Path:");
|
||||
|
||||
//$('li[input_group="iscsi"]', $dialogAddPool).hide();
|
||||
$form.find('[rel=iqn]').hide();
|
||||
|
|
@ -948,7 +951,7 @@
|
|||
//$('li[input_group="nfs"]', $dialogAddPool).show();
|
||||
$form.find('[rel=path]').css('display', 'block');
|
||||
//$dialogAddPool.find("#add_pool_path_container").find("label").text(g_dictionary["label.path"]+":");
|
||||
$form.find('[rel=path]').find(".name").find("label").text("Path:");
|
||||
//$form.find('[rel=path]').find(".name").find("label").text("Path:");
|
||||
|
||||
//$('li[input_group="iscsi"]', $dialogAddPool).hide();
|
||||
$form.find('[rel=iqn]').hide();
|
||||
|
|
@ -970,7 +973,7 @@
|
|||
//$('li[input_group="nfs"]', $dialogAddPool).show();
|
||||
$form.find('[rel=path]').css('display', 'block');
|
||||
//$dialogAddPool.find("#add_pool_path_container").find("label").text(g_dictionary["label.SR.name"]+":");
|
||||
$form.find('[rel=path]').find(".name").find("label").text("SR Name-Label:");
|
||||
$form.find('[rel=path]').find(".name").find("label").html("<span class=\"field-required\">*</span>SR Name-Label:");
|
||||
|
||||
//$('li[input_group="iscsi"]', $dialogAddPool).hide();
|
||||
$form.find('[rel=iqn]').hide();
|
||||
|
|
@ -1051,7 +1054,7 @@
|
|||
|
||||
//$('li[input_group="nfs"]', $dialogAddPool).show();
|
||||
$form.find('[rel=path]').css('display', 'block');
|
||||
$form.find('[rel=path]').find(".name").find("label").text("Path:");
|
||||
//$form.find('[rel=path]').find(".name").find("label").text("Path:");
|
||||
|
||||
//$('li[input_group="iscsi"]', $dialogAddPool).hide();
|
||||
$form.find('[rel=iqn]').hide();
|
||||
|
|
|
|||
Loading…
Reference in New Issue