summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/web
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-07 07:54:20 +0200
committerByron Jones <glob@mozilla.com>2015-04-07 07:54:20 +0200
commit63567a9c3bec7acd722db01929ad7d64d36d02df (patch)
tree38440ae2a28fc792740595a0888e7954e728bc72 /extensions/BugModal/web
parent6d5948948b84ac9e244553a5c94d0ab4490b039b (diff)
downloadbugzilla-63567a9c3bec7acd722db01929ad7d64d36d02df.tar.gz
bugzilla-63567a9c3bec7acd722db01929ad7d64d36d02df.tar.xz
Bug 1146760: cannot add other people to the cc list
Diffstat (limited to 'extensions/BugModal/web')
-rw-r--r--extensions/BugModal/web/bug_modal.css7
-rw-r--r--extensions/BugModal/web/bug_modal.js12
2 files changed, 17 insertions, 2 deletions
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css
index 19c2854bb..694a726a5 100644
--- a/extensions/BugModal/web/bug_modal.css
+++ b/extensions/BugModal/web/bug_modal.css
@@ -285,7 +285,12 @@ input[type="number"] {
#cc-list {
max-height: 150px;
- overflow-y: scroll;
+ overflow-y: auto;
+ clear: both;
+}
+
+#add-cc-btn {
+ float: right;
}
/* actions */
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index 7d8658f9b..37f01f479 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -331,7 +331,7 @@ $(function() {
});
$('#mode-btn').prop('disabled', false);
- // cc add/remove
+ // cc toggle (follow/stop following)
$('#cc-btn')
.click(function(event) {
event.preventDefault();
@@ -725,6 +725,16 @@ $(function() {
$('#cancel-btn').click();
}
} );
+
+ // add cc button
+ $('#add-cc-btn')
+ .click(function(event) {
+ event.preventDefault();
+ $('#add-cc-btn').hide();
+ $('#add-cc-container').show();
+ $('#top-save-btn').show();
+ $('#add-cc').focus();
+ });
});
function confirmUnsafeURL(url) {