server host used by default

This commit is contained in:
Hamza Zia 2012-07-02 08:15:39 -07:00
parent a417f03a93
commit 4aebd01c83

View File

@ -180,6 +180,9 @@ var update_ui = function() {
$(function() { $(function() {
get_conf_cookie(); get_conf_cookie();
if (window.location.protocol === "http:") {
server_conf.host = window.location.host;
}
var modal_conf = { var modal_conf = {
show: false, show: false,
backdrop: false backdrop: false