Kaynağa Gözat

Add error message in Terminal inject.html

DSR! 2 yıl önce
ebeveyn
işleme
a24854cfd3
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      modules/src/Terminal/html/inject.html

+ 2 - 0
modules/src/Terminal/html/inject.html

@@ -97,6 +97,8 @@ $(function() {
             if (data.error === undefined && data.success){
                 $scope.status = true;
                 $scope.openTerminalPanel();
+            } else {
+                alert('The terminal could not be opened. Read the module logs!');
             }
         });
     });