Преглед изворни кода

Add error message in Terminal inject.html

DSR! пре 2 година
родитељ
комит
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){
             if (data.error === undefined && data.success){
                 $scope.status = true;
                 $scope.status = true;
                 $scope.openTerminalPanel();
                 $scope.openTerminalPanel();
+            } else {
+                alert('The terminal could not be opened. Read the module logs!');
             }
             }
         });
         });
     });
     });