isHTTP() -> isHTTPS()
This commit is contained in:
parent
62fb12b369
commit
cab76836cb
@ -302,7 +302,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||
$this->script('jquery.form.min.js');
|
||||
$this->script('jquery-ui.min.js');
|
||||
$this->script('jquery.cookie.min.js');
|
||||
$this->inlineScript('if (typeof window.JSON !== "object") { $.getScript("'.common_path('js/json2.min.js', StatusNet::isHTTP()).'"); }');
|
||||
$this->inlineScript('if (typeof window.JSON !== "object") { $.getScript("'.common_path('js/json2.min.js', StatusNet::isHTTPS()).'"); }');
|
||||
$this->script('jquery.joverlay.min.js');
|
||||
$this->script('jquery.infieldlabel.min.js');
|
||||
} else {
|
||||
@ -310,7 +310,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||
$this->script('jquery.form.js');
|
||||
$this->script('jquery-ui.min.js');
|
||||
$this->script('jquery.cookie.js');
|
||||
$this->inlineScript('if (typeof window.JSON !== "object") { $.getScript("'.common_path('js/json2.js', StatusNet::isHTTP()).'"); }');
|
||||
$this->inlineScript('if (typeof window.JSON !== "object") { $.getScript("'.common_path('js/json2.js', StatusNet::isHTTPS()).'"); }');
|
||||
$this->script('jquery.joverlay.js');
|
||||
$this->script('jquery.infieldlabel.js');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user