Selaa lähdekoodia

fix(modal): fixed duplicate confirm modal issue

Torkel Ödegaard 9 vuotta sitten
vanhempi
commit
ae8fabdad3
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      public/app/core/services/alert_srv.ts

+ 0 - 4
public/app/core/services/alert_srv.ts

@@ -28,10 +28,6 @@ export class AlertSrv {
     }, this.$rootScope);
 
     appEvents.on('confirm-modal', this.showConfirmModal.bind(this));
-
-    this.$rootScope.onAppEvent('confirm-modal', (e, data) => {
-      this.showConfirmModal(data);
-    }, this.$rootScope);
   }
 
   set(title, text, severity, timeout) {