diff --git a/front/core/components/button-menu/button-menu.js b/front/core/components/button-menu/button-menu.js index 319ca3f6f..99f3879ee 100644 --- a/front/core/components/button-menu/button-menu.js +++ b/front/core/components/button-menu/button-menu.js @@ -8,7 +8,10 @@ export default class ButtonMenu extends Input { super($element, $scope); this.$transclude = $transclude; this.input = this.element.querySelector('.mdl-button'); - $element.on('click', e => this.onClick(e)); + $element.on('click', e => { + if (!this.disabled) + this.onClick(e); + }); } get model() { diff --git a/modules/ticket/front/sale/index.html b/modules/ticket/front/sale/index.html index c327b3c59..9b370c40c 100644 --- a/modules/ticket/front/sale/index.html +++ b/modules/ticket/front/sale/index.html @@ -17,6 +17,7 @@ diff --git a/modules/ticket/front/sale/index.js b/modules/ticket/front/sale/index.js index 3abcdc480..bca462cb8 100644 --- a/modules/ticket/front/sale/index.js +++ b/modules/ticket/front/sale/index.js @@ -1,6 +1,5 @@ import ngModule from '../module'; import './style.scss'; -import {throws} from 'assert'; class Controller { constructor($scope, $state, $http, vnApp, $translate) {