aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js b/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
index bf96fc5ac1b..9ece2454bb7 100644
--- a/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
@@ -1,6 +1,5 @@
define([
'components/common/popup',
- '../../components/common/jquery-isolated-scroll',
'./templates'
], function (Popup) {
@@ -8,18 +7,18 @@ define([
template: Templates['update-center-plugin-changelog'],
onRender: function () {
- Popup.prototype.onRender.apply(this, arguments);
+ this._super();
this.$('.bubble-popup-container').isolatedScroll();
this.$('[data-toggle="tooltip"]').tooltip({ container: 'body', placement: 'bottom' });
},
onClose: function () {
- Popup.prototype.onClose.apply(this, arguments);
+ this._super();
this.$('[data-toggle="tooltip"]').tooltip('destroy');
},
serializeData: function () {
- return _.extend(Popup.prototype.serializeData.apply(this, arguments), {
+ return _.extend(this._super(), {
// if there is no status, this is a new plugin
// => force COMPATIBLE status
status: this.model.get('status') || 'COMPATIBLE'