فهرست منبع

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){
                 $scope.status = true;
                 $scope.openTerminalPanel();
+            } else {
+                alert('The terminal could not be opened. Read the module logs!');
             }
         });
     });