Display Error in Internet Explorer creating a website
In the Webinterface of ISPConfig 3 (latest version from SVN), there is a display error only occuring browsing with the Internet Explorer. It appears when I want to set up a new Website. After choosing the Webserver for this site, there should be an asterix where you can choose the IPs. This Asterix does not show up in the IE 8.x. That's why I had to patch the following files:
/usr/local/ispconfig/interface/web/sites/templates/database_edit.htm
->
/usr/local/ispconfig/interface/web/sites/ajax_get_ip.php
$ip_select = "*\r\n";
-> $ip_select = "*";
$ip_select .= "$ip[ip_address]\r\n";
-> ip_select .= "#
ip[ip_address]";
/usr/local/ispconfig/interface/web/sites/templates/web_domain_edit.htm (18)
->
[changed the name of the function loadContentInto to loadOptionInto]
/usr/local/ispconfig/interface/web/js/scrigo.js.php
function loadOptionInto(elementid,pagename) { var itemContentCallback = { success: function(o) { var teste = o.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);
}
},
failure: function(o) { alert('Ajax Request was not successful.'); } } var pageContentObject2 = YAHOO.util.Connect.asyncRequest('GET', pagename, itemContentCallback); }
These changes caused the Asterisk to appear in the Internet Explorer, too.