Quellcode durchsuchen

fix(modal): fixed duplicate confirm modal issue

Torkel Ödegaard vor 9 Jahren
Ursprung
Commit
ae8fabdad3
1 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  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) {