Loading public/javascript/app/home/views/HomeView.js +15 −15 Original line number Diff line number Diff line Loading @@ -43,6 +43,11 @@ define([ this.config = { target: redmicConfig.services.activity, propsWidget: { }, filterConfig: { initQuery: { returnFields: redmicConfig.returnFields.activity } } }; Loading Loading @@ -88,6 +93,7 @@ define([ height: 4, type: SearchResultsWidget, props: { queryChannel: 'stub', windowTitle: 'starredActivities', omitTitleCloseButton: true } Loading Loading @@ -175,17 +181,17 @@ define([ _showSearchResults: function(searchDefinition) { var obj = { target: searchDefinition.target, queryChannel: searchDefinition.queryChannel }; this._emitEvt('ADD_TO_QUERY', { query: { text: { text: searchDefinition.searchText } } }); this._publish(this._getWidgetInstance('searchResults').getChannel('SET_PROPS'), lang.mixin({ this._publish(this._getWidgetInstance('searchResults').getChannel('SET_PROPS'), { windowTitle: 'searchResults' }, obj)); this._publish(this._getWidgetInstance('searchFastFilter').getChannel('SET_PROPS'), obj); this._publish(this._getWidgetInstance('searchFilter').getChannel('SET_PROPS'), obj); }); }, _hideSearchResults: function(searchDefinition) { Loading @@ -203,12 +209,6 @@ define([ _toggleAdvancedSearch: function(searchDefinition) { if (!this._advancedSearchShown) { if (this._advancedSearchShown === undefined) { this._publish(this._getWidgetInstance('searchFilter').getChannel('SET_PROPS'), { target: searchDefinition.target, queryChannel: searchDefinition.queryChannel }); } this._advancedSearchShown = true; this._showWidget('searchFilter'); } else { Loading public/javascript/app/home/views/SearchBarWidget.js +2 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,8 @@ define([ this.textSearchConfig = this._merge([{ parentChannel: this.getChannel(), target: this.target, queryChannel: this.queryChannel queryChannel: this.queryChannel, legacyMode: false }, this.textSearchConfig || {}]); this.textSearch = new TextImpl(this.textSearchConfig); Loading public/javascript/app/home/views/StatsWidget.js +0 −1 Original line number Diff line number Diff line Loading @@ -157,7 +157,6 @@ define([ href = attachedKey; if (attachedKey === 'activity') { this._emitEvt('TOTAL_ACTIVITIES', { value: specificData.total }); Loading Loading
public/javascript/app/home/views/HomeView.js +15 −15 Original line number Diff line number Diff line Loading @@ -43,6 +43,11 @@ define([ this.config = { target: redmicConfig.services.activity, propsWidget: { }, filterConfig: { initQuery: { returnFields: redmicConfig.returnFields.activity } } }; Loading Loading @@ -88,6 +93,7 @@ define([ height: 4, type: SearchResultsWidget, props: { queryChannel: 'stub', windowTitle: 'starredActivities', omitTitleCloseButton: true } Loading Loading @@ -175,17 +181,17 @@ define([ _showSearchResults: function(searchDefinition) { var obj = { target: searchDefinition.target, queryChannel: searchDefinition.queryChannel }; this._emitEvt('ADD_TO_QUERY', { query: { text: { text: searchDefinition.searchText } } }); this._publish(this._getWidgetInstance('searchResults').getChannel('SET_PROPS'), lang.mixin({ this._publish(this._getWidgetInstance('searchResults').getChannel('SET_PROPS'), { windowTitle: 'searchResults' }, obj)); this._publish(this._getWidgetInstance('searchFastFilter').getChannel('SET_PROPS'), obj); this._publish(this._getWidgetInstance('searchFilter').getChannel('SET_PROPS'), obj); }); }, _hideSearchResults: function(searchDefinition) { Loading @@ -203,12 +209,6 @@ define([ _toggleAdvancedSearch: function(searchDefinition) { if (!this._advancedSearchShown) { if (this._advancedSearchShown === undefined) { this._publish(this._getWidgetInstance('searchFilter').getChannel('SET_PROPS'), { target: searchDefinition.target, queryChannel: searchDefinition.queryChannel }); } this._advancedSearchShown = true; this._showWidget('searchFilter'); } else { Loading
public/javascript/app/home/views/SearchBarWidget.js +2 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,8 @@ define([ this.textSearchConfig = this._merge([{ parentChannel: this.getChannel(), target: this.target, queryChannel: this.queryChannel queryChannel: this.queryChannel, legacyMode: false }, this.textSearchConfig || {}]); this.textSearch = new TextImpl(this.textSearchConfig); Loading
public/javascript/app/home/views/StatsWidget.js +0 −1 Original line number Diff line number Diff line Loading @@ -157,7 +157,6 @@ define([ href = attachedKey; if (attachedKey === 'activity') { this._emitEvt('TOTAL_ACTIVITIES', { value: specificData.total }); Loading