From 082bfcf20a6702b1c538f5fac983a585a00a9bf9 Mon Sep 17 00:00:00 2001 From: horse69 Date: Mon, 1 Oct 2012 01:38:16 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@733 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/network.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.25.1