* code for task#1046.

This commit is contained in:
wangyidong
2013-01-09 07:53:02 +00:00
parent 67ca479090
commit 21a9c67de7

View File

@@ -1,5 +1,6 @@
$(function()
{
if(typeof page == 'undefined') page = '';
if(page == 'create')
{
changeProductConfirmed = true;
@@ -10,9 +11,12 @@ $(function()
setAssignedTo();
}
$("#story").chosen({no_results_text:noResultsMatch});
$("#task").chosen({no_results_text:noResultsMatch});
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
if(page == 'create' || page == 'edit')
{
$("#story").chosen({no_results_text:noResultsMatch});
$("#task").chosen({no_results_text:noResultsMatch});
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
}
});
/**