* finish task #6466.
This commit is contained in:
@@ -39,6 +39,7 @@ $lang->tree->addChild = "增加子模块";
|
||||
$lang->tree->confirmDelete = '该模块及其子模块都会被删除,您确定删除吗?';
|
||||
$lang->tree->confirmDeleteLine = "您确定删除该{$lang->productCommon}线吗?";
|
||||
$lang->tree->confirmRoot = "模块的所属{$lang->productCommon}修改,会关联修改该模块下的需求、Bug、用例的所属{$lang->productCommon},以及{$lang->projectCommon}和{$lang->productCommon}的关联关系。该操作比较危险,请谨慎操作。是否确认修改?";
|
||||
$lang->tree->confirmRoot4Doc = "模块的所属文档库修改,会关联修改该模块下的文档的关联关系。该操作比较危险,请谨慎操作。是否确认修改?";
|
||||
$lang->tree->successSave = '成功保存';
|
||||
$lang->tree->successFixed = '成功修正数据!';
|
||||
$lang->tree->repeatName = '模块名“%s”已经存在!';
|
||||
|
||||
@@ -83,16 +83,16 @@ function getProductModules(productID)
|
||||
}
|
||||
$(function()
|
||||
{
|
||||
if(type == 'doc') return;
|
||||
$('#root').change(function()
|
||||
{
|
||||
if($(this).val() == currentRoot) return true;
|
||||
if(!confirm('<?php echo $lang->tree->confirmRoot?>'))
|
||||
var confirmRoot = <?php echo json_encode($type == 'doc' ? $lang->tree->confirmRoot4Doc : $lang->tree->confirmRoot);?>;
|
||||
if(!confirm(confirmRoot))
|
||||
{
|
||||
$('#root').val(currentRoot);
|
||||
$('#root').trigger('chosen:updated');
|
||||
}
|
||||
getProductModules($(this).val());
|
||||
if(type != 'doc') getProductModules($(this).val());
|
||||
})
|
||||
})
|
||||
function loadDocModule(libID)
|
||||
|
||||
Reference in New Issue
Block a user