Fix script references in infinite scroll plugin and autocomplete plugin

Add indicator.gif used by autocomplete plugin
This commit is contained in:
Craig Andrews 2010-02-17 10:29:08 -05:00
parent d5cbfe8071
commit 389e6d54bf
3 changed files with 4 additions and 4 deletions

View File

@ -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'));
} }
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

View File

@ -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)