Skip to content

Commit

Permalink
fixed a js error in application/invite when the user doesn't have any…
Browse files Browse the repository at this point in the history
… friend (fixes #2122)
  • Loading branch information
kawahara committed May 22, 2011
1 parent e9f44b6 commit 6e13e24
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<?php op_include_box('inviteListBox', get_slot('invite_list_body'), array(
'title' => __('The invitation to this app is sent'),
)) ?>
<?php if ($pager && $pager->getNbResults()): ?>
<?php javascript_tag() ?>
var member_ids = [];
var changePage = function (page) {
Expand Down Expand Up @@ -85,3 +86,4 @@
}
$('invite_button').disable();
<?php end_javascript_tag(); ?>
<?php endif; ?>

0 comments on commit 6e13e24

Please sign in to comment.