summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard/web/js
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-09-17 09:20:09 +0200
committerByron Jones <bjones@mozilla.com>2013-09-17 09:20:09 +0200
commit63a1d66888534a188525dc13a159908adcc86a67 (patch)
tree2d2b1243418b1f11240345c2426369632e00426e /extensions/MyDashboard/web/js
parent160a717a33ff84142355a93702aa5232c9e03671 (diff)
downloadbugzilla-63a1d66888534a188525dc13a159908adcc86a67.tar.gz
bugzilla-63a1d66888534a188525dc13a159908adcc86a67.tar.xz
Bug 902457: Remove 'Include Closed' from MyDashboard (show all requests regardless of a bug's status)
Diffstat (limited to 'extensions/MyDashboard/web/js')
-rw-r--r--extensions/MyDashboard/web/js/flags.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/extensions/MyDashboard/web/js/flags.js b/extensions/MyDashboard/web/js/flags.js
index 3ac51acac..283a16434 100644
--- a/extensions/MyDashboard/web/js/flags.js
+++ b/extensions/MyDashboard/web/js/flags.js
@@ -26,8 +26,6 @@ YUI({
var updateFlagTable = function(type) {
if (!type) return;
- var include_closed = Y.one('#' + type + '_closed').get('checked') ? 1 : 0;
-
counter = counter + 1;
var callback = {
@@ -49,7 +47,7 @@ YUI({
version: "1.1",
method: "MyDashboard.run_flag_query",
id: counter,
- params: { type : type, include_closed: include_closed }
+ params: { type : type }
};
var stringified = Y.JSON.stringify(json_object);
@@ -159,9 +157,6 @@ YUI({
Y.one('#requestee_buglist').on('click', function(e) {
loadBugList('requestee');
});
- Y.one('#requestee_closed').on('change', function(e) {
- updateFlagTable('requestee');
- });
// Requester
dataSource.requester = new Y.DataSource.IO({ source: 'jsonrpc.cgi' });
@@ -209,7 +204,4 @@ YUI({
Y.one('#requester_buglist').on('click', function(e) {
loadBugList('requester');
});
- Y.one('#requester_closed').on('change', function(e) {
- updateFlagTable('requester');
- });
});