aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/provisioning
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/provisioning')
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/bulk-delete-view.js2
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/create-view.js2
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/delete-view.js2
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/form-view.js2
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/layout.js2
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/list-item-view.js2
-rw-r--r--server/sonar-web/src/main/js/apps/provisioning/list-view.js2
7 files changed, 7 insertions, 7 deletions
diff --git a/server/sonar-web/src/main/js/apps/provisioning/bulk-delete-view.js b/server/sonar-web/src/main/js/apps/provisioning/bulk-delete-view.js
index 91d09a12ee7..731e3e163d2 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/bulk-delete-view.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/bulk-delete-view.js
@@ -21,7 +21,7 @@ define([
}
}).done(function () {
that.collection.refresh();
- that.close();
+ that.destroy();
}).fail(function (jqXHR) {
that.showErrors(jqXHR.responseJSON.errors, jqXHR.responseJSON.warnings);
});
diff --git a/server/sonar-web/src/main/js/apps/provisioning/create-view.js b/server/sonar-web/src/main/js/apps/provisioning/create-view.js
index 2f7d3b3965c..2aba2786c3c 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/create-view.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/create-view.js
@@ -20,7 +20,7 @@ define([
}
}).done(function () {
that.collection.refresh();
- that.close();
+ that.destroy();
}).fail(function (jqXHR) {
that.enableForm();
that.showErrors([{ msg: jqXHR.responseJSON.err_msg }]);
diff --git a/server/sonar-web/src/main/js/apps/provisioning/delete-view.js b/server/sonar-web/src/main/js/apps/provisioning/delete-view.js
index 7797227aa40..dd503c4b1a4 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/delete-view.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/delete-view.js
@@ -22,7 +22,7 @@ define([
}
}).done(function () {
collection.refresh();
- that.close();
+ that.destroy();
}).fail(function (jqXHR) {
that.showErrors(jqXHR.responseJSON.errors, jqXHR.responseJSON.warnings);
});
diff --git a/server/sonar-web/src/main/js/apps/provisioning/form-view.js b/server/sonar-web/src/main/js/apps/provisioning/form-view.js
index ce359c6fa07..bb0fc0bcef5 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/form-view.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/form-view.js
@@ -11,7 +11,7 @@ define([
this.$('[data-toggle="tooltip"]').tooltip({ container: 'body', placement: 'bottom' });
},
- onClose: function () {
+ onDestroy: function () {
this._super();
this.$('[data-toggle="tooltip"]').tooltip('destroy');
},
diff --git a/server/sonar-web/src/main/js/apps/provisioning/layout.js b/server/sonar-web/src/main/js/apps/provisioning/layout.js
index d0627a1e5b8..31b67e8b774 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/layout.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/layout.js
@@ -2,7 +2,7 @@ define([
'./templates'
], function () {
- return Marionette.Layout.extend({
+ return Marionette.LayoutView.extend({
template: Templates['provisioning-layout'],
regions: {
diff --git a/server/sonar-web/src/main/js/apps/provisioning/list-item-view.js b/server/sonar-web/src/main/js/apps/provisioning/list-item-view.js
index 2b03660b698..ead9b009ca3 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/list-item-view.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/list-item-view.js
@@ -22,7 +22,7 @@ define([
this.$('[data-toggle="tooltip"]').tooltip({ container: 'body', placement: 'bottom' });
},
- onClose: function () {
+ onDestroy: function () {
this.$('[data-toggle="tooltip"]').tooltip('destroy');
},
diff --git a/server/sonar-web/src/main/js/apps/provisioning/list-view.js b/server/sonar-web/src/main/js/apps/provisioning/list-view.js
index 138c36b7619..24878864d30 100644
--- a/server/sonar-web/src/main/js/apps/provisioning/list-view.js
+++ b/server/sonar-web/src/main/js/apps/provisioning/list-view.js
@@ -5,7 +5,7 @@ define([
return Marionette.CollectionView.extend({
tagName: 'ul',
- itemView: ListItemView
+ childView: ListItemView
});
});