summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-08-18 09:14:28 +0200
committerByron Jones <glob@mozilla.com>2015-08-18 09:14:40 +0200
commitdfa1b0f9a8f428ec6ed3cbd9c71c14699523617d (patch)
tree81e48a822577c47a8b6f51b97a995ff1eb328cca /extensions/BugModal/web
parent4812a79c03b9068c1d10a058e80c9f01e5b8aded (diff)
downloadbugzilla-dfa1b0f9a8f428ec6ed3cbd9c71c14699523617d.tar.gz
bugzilla-dfa1b0f9a8f428ec6ed3cbd9c71c14699523617d.tar.xz
Bug 1194250 - 'take' button should uncheck "reset assignee to default"
Diffstat (limited to 'extensions/BugModal/web')
-rw-r--r--extensions/BugModal/web/bug_modal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 393b23b55..f055144c1 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -646,6 +646,9 @@ $(function() {
$('#field-' + field + '.edit-show').show();
$('#' + field).val(BUGZILLA.user.login).focus().select();
$('#top-save-btn').show();
+ if ($('#set-default-assignee').is(':checked')) {
+ $('#set-default-assignee').click();
+ }
});
// reply button