Procházet zdrojové kódy

actually send 'down' parameter

clementinecomputing před 6 roky
rodič
revize
4757e4f753
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      busunit/DIUv2/html/js/diu_ui-ORG.js

+ 1 - 1
busunit/DIUv2/html/js/diu_ui-ORG.js

@@ -999,7 +999,7 @@ function _custom0() {
 }
 
 function _custom1() {
-  _api_request("interfaceupdown", {"interface":"eth0", "state":"up"}, function(inp) { console.log("custom1 ok:", inp); }, function(inp) { console.log("custom1 error:", inp); });
+  _api_request("interfaceupdown", {"interface":"eth0", "state":"down"}, function(inp) { console.log("custom1 ok:", inp); }, function(inp) { console.log("custom1 error:", inp); });
 }
 
 function _update_diagnostic_window(_msg) {