aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/facets
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-12-17 15:14:08 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-12-18 11:02:51 +0100
commit3f38540619ece91a5f77cdd202ba339d3eb41462 (patch)
tree17386de2fc2b0972bb5f42453af3fcf4ffcb416f /server/sonar-web/src/main/js/apps/issues/facets
parenta76c4cc7cee9d6974324d93d936b904eab4960dc (diff)
downloadsonarqube-3f38540619ece91a5f77cdd202ba339d3eb41462.tar.gz
sonarqube-3f38540619ece91a5f77cdd202ba339d3eb41462.zip
install webpack
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/facets')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/facets/base-facet.js2
-rw-r--r--server/sonar-web/src/main/js/apps/issues/facets/mode-facet.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/facets/base-facet.js b/server/sonar-web/src/main/js/apps/issues/facets/base-facet.js
index 59ac379e704..85ddb797392 100644
--- a/server/sonar-web/src/main/js/apps/issues/facets/base-facet.js
+++ b/server/sonar-web/src/main/js/apps/issues/facets/base-facet.js
@@ -15,7 +15,7 @@ export default BaseFacet.extend({
},
serializeData: function () {
- return _.extend(this._super(), {
+ return _.extend(BaseFacet.prototype.serializeData.apply(this, arguments), {
state: this.options.app.state.toJSON()
});
}
diff --git a/server/sonar-web/src/main/js/apps/issues/facets/mode-facet.js b/server/sonar-web/src/main/js/apps/issues/facets/mode-facet.js
index bbe12185686..b36fc83692a 100644
--- a/server/sonar-web/src/main/js/apps/issues/facets/mode-facet.js
+++ b/server/sonar-web/src/main/js/apps/issues/facets/mode-facet.js
@@ -15,7 +15,9 @@ export default BaseFacet.extend({
},
serializeData: function () {
- return _.extend(this._super(), { mode: this.options.app.state.getFacetMode() });
+ return _.extend(BaseFacet.prototype.serializeData.apply(this, arguments), {
+ mode: this.options.app.state.getFacetMode()
+ });
}
});