Merge branch 'master' of github.com:easysoft/zentaopms

This commit is contained in:
wangyidong
2019-09-04 09:02:41 +08:00
5 changed files with 36 additions and 35 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
</div><?php /* end '.outer' in 'header.html.php'. */ ?>
<script>$.initSidebar()</script>
<script>
$.initSidebar();
if(window.convertURL) window.convertURL();
</script>
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
<iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>
+2 -3
View File
@@ -130,11 +130,10 @@
$disabled = 'disabled';
if($plan->parent >= 0)
{
$deleteURL = $this->createLink('productplan', 'delete', "planID=$plan->id&confirm=yes");
$deleteURL = "javascript:ajaxDelete(\"$deleteURL\",\"productplanList\",confirmDelete)";
$deleteURL = $this->createLink('productplan', 'delete', "planID=$plan->id&confirm=no");
$disabled = '';
}
echo html::a($deleteURL, '<i class="icon-trash"></i>', '', "class='btn {$disabled}' title='{$lang->productplan->delete}'");
echo html::a($deleteURL, '<i class="icon-trash"></i>', 'hiddenwin', "class='btn {$disabled}' title='{$lang->productplan->delete}'");
}
?>
</td>
-1
View File
@@ -16,7 +16,6 @@ $(function()
var hasRecord = false;
$('#recordForm').find('input[name^="consumed"], input[name^="left"], textarea[name^="work"]').each(function()
{
console.log($(this).val());
if($(this).val() !== '')
{
hasRecord = true;