]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/invite.php
Resetup the ajaxification for replies and favors after inf. scrolling
[quix0rs-gnu-social.git] / actions / invite.php
index 64a2061c31093dd79897e824f1012a3887cf428b..9fa6a76f671f471a83b13b590db846401fd6b039 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-if (!defined('LACONICA')) { exit(1); }
+if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
 
 class InviteAction extends CurrentUserDesignAction
 {
@@ -98,6 +98,12 @@ class InviteAction extends CurrentUserDesignAction
         $this->showPage();
     }
 
+    function showScripts()
+    {
+        parent::showScripts();
+        $this->autofocus('addresses');
+    }
+
     function title()
     {
         if ($this->mode == 'sent') {