aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 1555627..2efcd7d 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -792,10 +792,14 @@ BZPage.prototype.changeAssignee = function(newAssignee) {
}
if (this.getDefaultAssignee) {
- let defAss = this.getDefaultAssignee();
- console.log("defAss = " + defAss);
- if (newAssignee == "default" && defAss) {
- newAssignee = defAss;
+ if (newAssignee == "default") {
+ let defAss = this.getDefaultAssignee();
+ console.log("defAss = " + defAss);
+ if (defAss) {
+ newAssignee = defAss;
+ } else {
+ return ;
+ }
}
}