Adjust code.

This commit is contained in:
zhouxin
2022-02-22 01:56:44 +00:00
parent ae8d371efb
commit 63be4b0948
2 changed files with 10 additions and 12 deletions
-2
View File
@@ -455,5 +455,3 @@ if(!window.kanbanDropRules)
closed: ['doing']
}
}
$('#submit').attr('id', 'submitButton');
+10 -10
View File
@@ -215,20 +215,20 @@
<div class="table-actions btn-toolbar">
<?php if(common::hasPriv('productplan', 'batchEdit')):?>
<?php $actionLink = $this->inlink('batchEdit', "productID=$product->id&branch=$branch");?>
<?php echo html::submitButton($lang->edit, "onclick=\"setFormAction('$actionLink')\"", 'btn');?>
<?php echo html::commonButton($lang->edit, "data-form-action='$actionLink'");?>
<?php endif;?>
<?php if(common::hasPriv('productplan', 'batchChangeStatus')):?>
<button data-toggle="dropdown" type="button" class="btn"><?php echo $lang->productplan->planStatus;?> <span class="caret"></span></button>
<div class="dropdown-menu search-list">
<div class="list-group">
<?php
foreach($lang->productplan->statusList as $key => $status)
{
$actionLink = $this->createLink('productplan', 'batchChangeStatus', "status=$key");
echo html::a('javascript:;', $status, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
}
?>
</div>
<div class="list-group">
<?php
foreach($lang->productplan->statusList as $key => $status)
{
$actionLink = $this->createLink('productplan', 'batchChangeStatus', "status=$key");
echo html::a('javascript:;', $status, '', "onclick=\"setFormAction('$actionLink', 'hiddenwin')\"");
}
?>
</div>
</div>
<?php endif;?>
</div>