X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Faction.php;fp=lib%2Faction.php;h=2089debc4906e1259ddeea7ca5b1e811192a7bb6;hb=31c1177970124cee31823cab3a11542c23b4126d;hp=654ec7aa43e533b6c94ca8ba8bfc580935c9357a;hpb=0a71622aa731c62c89ba84ef86d21fd168521ee1;p=quix0rs-gnu-social.git diff --git a/lib/action.php b/lib/action.php index 654ec7aa43..2089debc49 100644 --- a/lib/action.php +++ b/lib/action.php @@ -317,6 +317,7 @@ class Action extends HTMLOutputter // lawsuit $this->inlineScript('if (typeof window.JSON !== "object") { $.getScript("'.common_path('js/json2.js').'"); }'); $this->script('jquery.joverlay.js'); } + Event::handle('EndShowJQueryScripts', array($this)); } if (Event::handle('StartShowStatusNetScripts', array($this)) && @@ -327,7 +328,12 @@ class Action extends HTMLOutputter // lawsuit $this->script('util.js'); $this->script('xbImportNode.js'); $this->script('geometa.js'); + } + $this->inlineScript('function _loadTagInput(init) { $.getScript("'.common_path('js/jquery.timers.js') . + '"); $.getScript("'.common_path('js/jquery.tagInput.js').'", init); } var _peopletagAC = "' . + + common_local_url('peopletagautocomplete') . '";'); $this->showScriptMessages(); // Frame-busting code to avoid clickjacking attacks. $this->inlineScript('if (window.top !== window.self) { window.top.location.href = window.self.location.href; }');