summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard/web
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-04-04 16:22:43 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-04-04 16:22:43 +0200
commit2c5dbde5cdb6cdcf2534d9e8abdfc5112c2c7297 (patch)
treec2c2581a79a1cb06894ba80265502e7d0d174a59 /extensions/MyDashboard/web
parentad6f8c028da9b4aef1b4f2f8db87ef8de4dd6b4f (diff)
downloadbugzilla-2c5dbde5cdb6cdcf2534d9e8abdfc5112c2c7297.tar.gz
bugzilla-2c5dbde5cdb6cdcf2534d9e8abdfc5112c2c7297.tar.xz
Bug 852750 - Flags requested of me, shows only requested flags in non-restricted bugs
r=glob
Diffstat (limited to 'extensions/MyDashboard/web')
-rw-r--r--extensions/MyDashboard/web/js/flags.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/MyDashboard/web/js/flags.js b/extensions/MyDashboard/web/js/flags.js
index 29afefabb..9980c00fb 100644
--- a/extensions/MyDashboard/web/js/flags.js
+++ b/extensions/MyDashboard/web/js/flags.js
@@ -26,7 +26,7 @@ YUI({
var updateFlagTable = function (type) {
if (!type) return;
- var include_resolved = Y.one('#' + type + '_resolved').get('checked') ? 1 : 0;
+ var include_closed = Y.one('#' + type + '_closed').get('checked') ? 1 : 0;
counter = counter + 1;
@@ -49,7 +49,7 @@ YUI({
version: "1.1",
method: "MyDashboard.run_flag_query",
id: counter,
- params: { type : type, include_resolved: include_resolved }
+ params: { type : type, include_closed: include_closed }
};
var stringified = Y.JSON.stringify(json_object);
@@ -143,7 +143,7 @@ YUI({
Y.one('#requestee_refresh').on('click', function(e) {
updateFlagTable('requestee');
});
- Y.one('#requestee_resolved').on('change', function(e) {
+ Y.one('#requestee_closed').on('change', function(e) {
updateFlagTable('requestee');
});
@@ -183,7 +183,7 @@ YUI({
Y.one('#requester_refresh').on('click', function(e) {
updateFlagTable('requester');
});
- Y.one('#requester_resolved').on('change', function(e) {
+ Y.one('#requester_closed').on('change', function(e) {
updateFlagTable('requester');
});
});