From: horse69 Date: Mon, 1 Oct 2012 01:38:16 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@733 01035d8c-6547-0410-b346-abe4f9... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=082bfcf20a6702b1c538f5fac983a585a00a9bf9;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@733 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/network.js b/mini-asterisk-gui2/network.js index 0956538c..ca5afdec 100644 --- a/mini-asterisk-gui2/network.js +++ b/mini-asterisk-gui2/network.js @@ -28,6 +28,12 @@ function initialise() { // initialisePage(); } +function doDHCP() { +} + +function doStatic() { +} + function greyout(dhcp) { @@ -64,7 +70,7 @@ function processDhcp(doc,status) { if (dhcp == "no") { downloadUrl("/cgi-bin/getconf.cgi?file=../init.d/network-static", processStatic); } else { - initialistPage(); + initialise(); } } @@ -163,7 +169,7 @@ function onClickApply() { // change network type, DHCP or static - if (document.network.dhcp.value == "yes") { + if (document.getElementById("dhcp").value == "yes") { if (dhcp = "no") { // disable network-static service and endable network service