Files
EasySoft-ZenTaoPMS/module/story/view/header.html.php
T

29 lines
998 B
PHP

<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<script language='Javascript'>
function loadProduct(productID)
{
loadProductModules(productID);
loadProductPlans(productID);
}
function loadProductModules(productID)
{
moduleLink = createLink('tree', 'ajaxGetOptionMenu', 'productID=' + productID + '&viewtype=story&rootModuleID=0&returnType=html&needManage=true');
$('#moduleIdBox').load(moduleLink);
}
function loadProductPlans(productID)
{
planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&planID=' + $('#plan').val() + '&needCreate=true');
$('#planIdBox').load(planLink);
}
$(function()
{
$("#reviewedBy").chosen({no_results_text:noResultsMatch});
$("#mailto").chosen({no_results_text:noResultsMatch});
})
</script>