* Fix bug #20269.
This commit is contained in:
@@ -50,9 +50,12 @@ function loadList(type, id)
|
||||
$(divClass).html($(divID).html());
|
||||
}
|
||||
|
||||
|
||||
nameBoxLabel = typeof(nameBoxLabel) == "undefined" ? '' : nameBoxLabel;
|
||||
if(nameBoxLabel)
|
||||
{
|
||||
if(type == 'custom')
|
||||
vision = typeof(vision) == "undefined" ? '' : vision;
|
||||
if(type == 'custom' || (vision && vision == 'rnd'))
|
||||
{
|
||||
$('#nameBoxLabel').text(nameBoxLabel.custom);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<?php js::set('moduleList', $config->todo->moduleList)?>
|
||||
<?php js::set('objectsMethod', $config->todo->getUserObjectsMethod)?>
|
||||
<?php js::set('nameBoxLabel', array('custom' => $lang->todo->name, 'idvalue' => $lang->todo->idvalue));?>
|
||||
<?php js::set('vision', $config->vision);?>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='center-block'>
|
||||
<div class='main-header'>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<?php js::set('objectsMethod', $config->todo->getUserObjectsMethod)?>
|
||||
<?php js::set('idvalue', $todo->idvalue);?>
|
||||
<?php js::set('nameBoxLabel', array('custom' => $lang->todo->name, 'idvalue' => $lang->todo->idvalue));?>
|
||||
<?php js::set('vision', $config->vision);?>
|
||||
<?php if(common::checkNotCN()):?>
|
||||
<style> label.col-sm-1{width:100px;} </style>
|
||||
<?php endif;?>
|
||||
@@ -128,7 +129,7 @@
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<div class="row form-group">
|
||||
<label id='nameBoxLabel' class="col-sm-1"><?php echo $todo->type == 'custom' ? $lang->todo->name : $lang->todo->idvalue;?></label>
|
||||
<label id='nameBoxLabel' class="col-sm-1"><?php echo ($todo->type == 'custom' or $config->vision == 'rnd') ? $lang->todo->name : $lang->todo->idvalue;?></label>
|
||||
<div class="col-sm-10">
|
||||
<div id='nameBox' class='hidden'><?php echo html::input('name', $todo->name, "class='form-control'");?></div>
|
||||
<div class='input-group title-group required'>
|
||||
|
||||
Reference in New Issue
Block a user