* bugJS: use bug.status instead of the global variable isClosedBug.

This commit is contained in:
liugang
2023-06-02 08:57:01 +08:00
parent 3463bd70f1
commit 3371dd3afe
+3 -4
View File
@@ -435,10 +435,9 @@ function loadAllBuilds(event)
function loadAllUsers(event)
{
isClosedBug = typeof isClosedBug == 'undefined' ? false : isClosedBug;
const params = isClosedBug ? '&params=devfirst' : '';
const link = $.createLink('bug', 'ajaxLoadAllUsers', 'selectedUser=' + $('#assignedTo').val() + params);
const isClosedBug = bug.status = 'closed';
const params = isClosedBug ? '&params=devfirst' : '';
const link = $.createLink('bug', 'ajaxLoadAllUsers', 'selectedUser=' + $('#assignedTo').val() + params);
$.get(link, function(data)
{
if(data)