cleaned out experimental code
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 11 May 2012 07:58:45 +0000 (07:58 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 11 May 2012 07:58:45 +0000 (07:58 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@417 01035d8c-6547-0410-b346-abe4f91aad63

mini-asterisk-gui2/minicommon.js

index 80792ac139f750daf52a8a80ce19608277977eda..730d7f054572e7aa79d295f18449aa06ac62cf1f 100644 (file)
@@ -159,25 +159,7 @@ function loadIpExtensions(doc,status) {
 
     // we get Network connection details
 
-    downloadUrl("/cgi-bin/getnetwork.cgi?cli=", loadNetwork);
-   // initialisePage();
-}
-
-// creates a network connection
-
-function loadNetwork(doc,status) {
-    loadHtmlTextFile(doc, function(line) {
-           //parseSipShowPeers(line);
-           if (line.indexOf("alive") != -1)  {
-               network = "yes";
-               }
-       }
-       );
-
-    // 
-
-    //downloadUrl("/cgi-bin/getnetwork.cgi?cli=", loadNetwork);
-    initialisePage();
+      initialisePage();
 }