Fix script references in infinite scroll plugin and autocomplete plugin
Add indicator.gif used by autocomplete plugin
This commit is contained in:
parent
d5cbfe8071
commit
389e6d54bf
|
@ -42,8 +42,8 @@ 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(common_path('plugins/Autocomplete/jquery-autocomplete/jquery.autocomplete.pack.js'));
|
||||||
$action->script('plugins/Autocomplete/Autocomplete.js');
|
$action->script(common_path('plugins/Autocomplete/Autocomplete.js'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
BIN
plugins/Autocomplete/jquery-autocomplete/indicator.gif
Normal file
BIN
plugins/Autocomplete/jquery-autocomplete/indicator.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 673 B |
|
@ -40,8 +40,8 @@ class InfiniteScrollPlugin extends Plugin
|
||||||
|
|
||||||
function onEndShowScripts($action)
|
function onEndShowScripts($action)
|
||||||
{
|
{
|
||||||
$action->script('plugins/InfiniteScroll/jquery.infinitescroll.js');
|
$action->script(common_path('plugins/InfiniteScroll/jquery.infinitescroll.js'));
|
||||||
$action->script('plugins/InfiniteScroll/infinitescroll.js');
|
$action->script(common_path('plugins/InfiniteScroll/infinitescroll.js'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function onPluginVersion(&$versions)
|
function onPluginVersion(&$versions)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user