From bea2c2d55488ccfa6a983c57196b941019f233f3 Mon Sep 17 00:00:00 2001 From: ftimme Date: Thu, 29 Sep 2011 12:05:40 +0000 Subject: [PATCH] - Removed unused function loadwebip(elementid,pagename){} from scrigo.js.php. --- interface/web/js/scrigo.js.php | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index 5534f3e46..ecfcf83e0 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -491,30 +491,3 @@ function getInternetExplorerVersion() { } return rv; } - -function loadwebip(elementid,pagename) { - var pageContentObject2 = jQuery.ajax({ type: "GET", - url: pagename, - dataType: "html", - success: function(data, textStatus, jqXHR) { - var teste = jqXHR.responseText; - var elemente = teste.split('#'); - el=document.getElementById(elementid); - el.innerHTML=''; - for (var i = 0; i < elemente.length; ++i){ - - var foo2 = document.createElement("option"); - foo2.appendChild(document.createTextNode(elemente[i])); - foo2.value=elemente[i]; - el.appendChild(foo2); - } - }, - error: function() { - reportError('Ajax Request was not successful. 119'); - }, - }); - var ruby = document.getElementById('ruby'); - ruby.style.display = 'none'; -} - - -- GitLab