forked from GNUsocial/gnu-social
Autocomplete uses Plugin::path()
This commit is contained in:
parent
22e8893fba
commit
0bab5e4a9e
@ -51,15 +51,15 @@ class AutocompletePlugin extends Plugin
|
|||||||
|
|
||||||
function onEndShowScripts($action){
|
function onEndShowScripts($action){
|
||||||
if (common_logged_in()) {
|
if (common_logged_in()) {
|
||||||
$action->script('plugins/Autocomplete/jquery-autocomplete/jquery.autocomplete.pack.js');
|
$action->script($this->path('jquery-autocomplete/jquery.autocomplete.pack.js'));
|
||||||
$action->script('plugins/Autocomplete/Autocomplete.js');
|
$action->script($this->path('Autocomplete.js'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function onEndShowStatusNetStyles($action)
|
function onEndShowStatusNetStyles($action)
|
||||||
{
|
{
|
||||||
if (common_logged_in()) {
|
if (common_logged_in()) {
|
||||||
$action->cssLink('plugins/Autocomplete/jquery-autocomplete/jquery.autocomplete.css');
|
$action->cssLink($this->path('jquery-autocomplete/jquery.autocomplete.css'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user