diff options
author | Stas Vilchik <stas.vilchik@sonarsource.com> | 2017-07-13 15:16:51 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-07-31 11:27:51 +0200 |
commit | 24d034efcdc705bb254cea481a9f78c96f04405b (patch) | |
tree | cf4d93fd5cd25f2675fef064ba8ff03221691ccb /server/sonar-web/src/main/js/apps/quality-gates | |
parent | e168dc8be4f7088c103e144800588d0565d991ff (diff) | |
download | sonarqube-24d034efcdc705bb254cea481a9f78c96f04405b.tar.gz sonarqube-24d034efcdc705bb254cea481a9f78c96f04405b.zip |
make SelectList available for extensions
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-gates/views/gate-projects-view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/views/gate-projects-view.js b/server/sonar-web/src/main/js/apps/quality-gates/views/gate-projects-view.js index 6df371f3a93..7909394dfe4 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/views/gate-projects-view.js +++ b/server/sonar-web/src/main/js/apps/quality-gates/views/gate-projects-view.js @@ -19,7 +19,7 @@ */ import Marionette from 'backbone.marionette'; import escapeHtml from 'escape-html'; -import '../../../components/SelectList'; +import SelectList from '../../../components/SelectList'; import { translate } from '../../../helpers/l10n'; export default Marionette.ItemView.extend({ @@ -28,7 +28,7 @@ export default Marionette.ItemView.extend({ onRender() { const { qualityGate } = this.options; - new window.SelectList({ + new SelectList({ el: this.options.container, width: '100%', readOnly: !this.options.edit, |