]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge commit 'refs/merge-requests/181' of git://gitorious.org/statusnet/mainline...
authorJean Baptiste Favre <statusnet@jbfavre.org>
Wed, 19 Sep 2012 07:39:47 +0000 (09:39 +0200)
committerJean Baptiste Favre <statusnet@jbfavre.org>
Wed, 19 Sep 2012 07:39:47 +0000 (09:39 +0200)
plugins/ClientSideShorten/ClientSideShortenPlugin.php

index 6379acd3340ceda95d016e74e6ed8d2335b55bc6..cc109292318a06d3a04ee1191ad649d58380dea7 100644 (file)
@@ -55,7 +55,7 @@ class ClientSideShortenPlugin extends Plugin
             $user = common_current_user();
             $action->inlineScript('var maxNoticeLength = ' . User_urlshortener_prefs::maxNoticeLength($user));
             $action->inlineScript('var maxUrlLength = ' . User_urlshortener_prefs::maxUrlLength($user));
-            $action->script('plugins/ClientSideShorten/shorten.js');
+            $action->script($this->path('shorten.js'));
         }
     }