aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/provisioning/projects.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-24 13:50:18 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-26 10:12:03 +0200
commit223bcb955ba554be354f6b4b1ca0c1acb9431d66 (patch)
treec055f39d1cf688974d275877c5ff07490c32295f /server/sonar-web/src/main/js/apps/provisioning/projects.js
parent4fa812ee4cb69d00e761b7887fdd30820d6748a9 (diff)
downloadsonarqube-223bcb955ba554be354f6b4b1ca0c1acb9431d66.tar.gz
sonarqube-223bcb955ba554be354f6b4b1ca0c1acb9431d66.zip
use the single web app
Diffstat (limited to 'server/sonar-web/src/main/js/apps/provisioning/projects.js')
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/projects.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/provisioning/projects.js b/server/sonar-web/src/main/js/apps/provisioning/projects.js
index 05a59f822af..51697b78fc8 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/projects.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/projects.js
@@ -1,12 +1,13 @@
define([
+ 'backbone',
'./project'
-], function (Project) {
+], function (Backbone, Project) {
return Backbone.Collection.extend({
model: Project,
url: function () {
- return baseUrl + '/api/projects/provisioned';
+ return window.baseUrl + '/api/projects/provisioned';
},
parse: function (r) {
@@ -19,7 +20,7 @@ define([
fetch: function (options) {
var d = (options && options.data) || {};
this.q = d.q;
- return this._super(options);
+ return Backbone.Collection.prototype.fetch.apply(this, arguments);
},
fetchMore: function () {