Kaynağa Gözat

fix(modal): fixed duplicate confirm modal issue

Torkel Ödegaard 9 yıl önce
ebeveyn
işleme
ae8fabdad3
1 değiştirilmiş dosya ile 0 ekleme ve 4 silme
  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) {