diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps/computation/search-view.js')
-rw-r--r-- | server/sonar-web/src/main/js/apps/computation/search-view.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/server/sonar-web/src/main/js/apps/computation/search-view.js b/server/sonar-web/src/main/js/apps/computation/search-view.js deleted file mode 100644 index 1e896df0c16..00000000000 --- a/server/sonar-web/src/main/js/apps/computation/search-view.js +++ /dev/null @@ -1,34 +0,0 @@ -import _ from 'underscore'; -import Marionette from 'backbone.marionette'; -import './templates'; - -export default Marionette.ItemView.extend({ - template: Templates['computation-search'], - - collectionEvents: { - 'all': 'render' - }, - - events: { - 'click .js-queue': 'queue', - 'click .js-history': 'history' - }, - - queue: function (e) { - e.preventDefault(); - this.options.router.navigate('current', { trigger: true }); - }, - - history: function (e) { - e.preventDefault(); - this.options.router.navigate('past', { trigger: true }); - }, - - serializeData: function () { - return _.extend(Marionette.ItemView.prototype.serializeData.apply(this, arguments), { - tab: this.collection.q - }); - } -}); - - |