From 6a6dc852055e94b6119803ef36d68b58b9aed8a4 Mon Sep 17 00:00:00 2001 From: horse69 Date: Mon, 1 Oct 2012 02:08:19 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@736 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mini-asterisk-gui2/network.js b/mini-asterisk-gui2/network.js index 2d8465e1..a48fe1d0 100644 --- a/mini-asterisk-gui2/network.js +++ b/mini-asterisk-gui2/network.js @@ -72,7 +72,7 @@ function processDhcp(doc,status) { if (dhcp == "no") { downloadUrl("/cgi-bin/getconf.cgi?file=../init.d/network-static", processStatic); } else { - initialise(); + //initialise(); endless loop } } @@ -171,7 +171,7 @@ function onClickApply() { // change network type, DHCP or static - if (document.getElementById("dhcp").value == "yes") { + if (document.getElementById("dhcp").checked == 1) { if (dhcp = "no") { // disable network-static service and endable network service -- 2.25.1