diff options
Diffstat (limited to 'extensions/MyDashboard/web')
-rw-r--r-- | extensions/MyDashboard/web/js/flags.js | 3 | ||||
-rw-r--r-- | extensions/MyDashboard/web/js/query.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/extensions/MyDashboard/web/js/flags.js b/extensions/MyDashboard/web/js/flags.js index fc360fdc1..8ea54539b 100644 --- a/extensions/MyDashboard/web/js/flags.js +++ b/extensions/MyDashboard/web/js/flags.js @@ -31,6 +31,7 @@ YUI({ var callback = { success: function(e) { if (e.response) { + Y.one('#' + type + '_count_refresh').removeClass('bz_default_hidden'); Y.one("#" + type + "_flags_found").setHTML( e.response.results.length + ' flags found'); dataTable[type].set('data', e.response.results); @@ -51,6 +52,8 @@ YUI({ var stringified = Y.JSON.stringify(json_object); + Y.one('#' + type + '_count_refresh').addClass('bz_default_hidden'); + dataTable[type].set('data', []); dataTable[type].render("#" + type + "_table"); dataTable[type].showMessage('loadingMessage'); diff --git a/extensions/MyDashboard/web/js/query.js b/extensions/MyDashboard/web/js/query.js index 2ce438509..62d373e65 100644 --- a/extensions/MyDashboard/web/js/query.js +++ b/extensions/MyDashboard/web/js/query.js @@ -49,6 +49,7 @@ YUI({ var callback = { success: function(e) { if (e.response) { + Y.one('#query_count_refresh').removeClass('bz_default_hidden'); Y.one("#query_container .query_description").setHTML(e.response.meta.description); Y.one("#query_container .query_heading").setHTML(e.response.meta.heading); Y.one("#query_bugs_found").setHTML( @@ -72,6 +73,8 @@ YUI({ var stringified = Y.JSON.stringify(json_object); + Y.one('#query_count_refresh').addClass('bz_default_hidden'); + dataTable.set('data', []); dataTable.render("#query_table"); dataTable.showMessage('loadingMessage'); |