Просмотр исходного кода

Add error message in Terminal inject.html

DSR! 2 лет назад
Родитель
Сommit
a24854cfd3
1 измененных файлов с 2 добавлено и 0 удалено
  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!');
             }
         });
     });