Skip to content

Commit

Permalink
Refresh clears the search field
Browse files Browse the repository at this point in the history
  • Loading branch information
mkzia committed Sep 10, 2019
1 parent 401283e commit c1c2cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion html/gui/js/modules/dashboard/ReportThumbnailsComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ XDMoD.Module.Dashboard.ReportThumbnailsComponent = Ext.extend(Ext.Panel, {
for (var key in config) {
if (key === 'data_series') {
this.tmpHpc.store.setBaseParam(key, Ext.util.JSON.encode(config[key]));
let data_series = {};
var data_series = {};
data_series.data = config[key];
data_series.total = config[key].length;
config.data_series = data_series;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ XDMoD.Module.Dashboard.SavedChartsReportsComponent = Ext.extend(CCR.xdmod.ui.Por
text: 'Refresh',
scope: this,
handler: function () {
searchField.onTrigger1Click();
this.chartReportStore.reload();
}
}
Expand Down

0 comments on commit c1c2cf5

Please # to comment.