summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-02-17 10:29:08 -0500
committerCraig Andrews <candrews@integralblue.com>2010-02-17 10:29:08 -0500
commit389e6d54bfcabd0eb2f6849c914684808aefa53c (patch)
tree0fb744d1016f95d737a3466b0a309d635f8952f0
parentd5cbfe8071d56438cfa168dc3db56a959317eae0 (diff)
Fix script references in infinite scroll plugin and autocomplete plugin
Add indicator.gif used by autocomplete plugin
-rw-r--r--plugins/Autocomplete/AutocompletePlugin.php4
-rw-r--r--plugins/Autocomplete/jquery-autocomplete/indicator.gifbin0 -> 673 bytes
-rw-r--r--plugins/InfiniteScroll/InfiniteScrollPlugin.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Autocomplete/AutocompletePlugin.php b/plugins/Autocomplete/AutocompletePlugin.php
index d586631a4..a28c65a29 100644
--- a/plugins/Autocomplete/AutocompletePlugin.php
+++ b/plugins/Autocomplete/AutocompletePlugin.php
@@ -42,8 +42,8 @@ class AutocompletePlugin extends Plugin
function onEndShowScripts($action){
if (common_logged_in()) {
- $action->script('plugins/Autocomplete/jquery-autocomplete/jquery.autocomplete.pack.js');
- $action->script('plugins/Autocomplete/Autocomplete.js');
+ $action->script(common_path('plugins/Autocomplete/jquery-autocomplete/jquery.autocomplete.pack.js'));
+ $action->script(common_path('plugins/Autocomplete/Autocomplete.js'));
}
}
diff --git a/plugins/Autocomplete/jquery-autocomplete/indicator.gif b/plugins/Autocomplete/jquery-autocomplete/indicator.gif
new file mode 100644
index 000000000..d0bce1542
--- /dev/null
+++ b/plugins/Autocomplete/jquery-autocomplete/indicator.gif
Binary files differ
diff --git a/plugins/InfiniteScroll/InfiniteScrollPlugin.php b/plugins/InfiniteScroll/InfiniteScrollPlugin.php
index a4d1a5d05..77ad83a51 100644
--- a/plugins/InfiniteScroll/InfiniteScrollPlugin.php
+++ b/plugins/InfiniteScroll/InfiniteScrollPlugin.php
@@ -40,8 +40,8 @@ class InfiniteScrollPlugin extends Plugin
function onEndShowScripts($action)
{
- $action->script('plugins/InfiniteScroll/jquery.infinitescroll.js');
- $action->script('plugins/InfiniteScroll/infinitescroll.js');
+ $action->script(common_path('plugins/InfiniteScroll/jquery.infinitescroll.js'));
+ $action->script(common_path('plugins/InfiniteScroll/infinitescroll.js'));
}
function onPluginVersion(&$versions)