Bläddra i källkod

Add error message in Terminal inject.html

DSR! 2 år sedan
förälder
incheckning
a24854cfd3
1 ändrade filer med 2 tillägg och 0 borttagningar
  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!');
             }
         });
     });