Permalink
Browse files

[ticket/10271] Added a comment to the AJAXification of quick-mod tools.

The comment clarifies which make_ functions use AJAX.

PHPBB3-10271
  • Loading branch information...
1 parent e5d0f2c commit 6d8ecd710441dff945d9d92ac6646a33bfd1ae47 @callumacrae callumacrae committed with igorw Nov 17, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 phpBB/styles/prosilver/template/ajax.js
@@ -69,8 +69,10 @@ phpbb.ajaxify({
}
else if (action.slice(-4) === 'lock')
{
+ // Return false for both lock and unlock
return false;
}
+ // make_sticky, make_announce and make_global all use AJAX.
return !(action === 'delete_topic' || action.slice(0, 5) === 'make_');
}
}, true);

0 comments on commit 6d8ecd7

Please sign in to comment.