1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 07:47:34 +02:00

[feature/ajax] Refactor phpbb.ajaxify event callback

PHPBB3-10270
This commit is contained in:
Igor Wiedler
2012-02-15 19:32:53 +01:00
parent 4848d6c9e8
commit de82608e6f
2 changed files with 26 additions and 32 deletions

View File

@@ -73,7 +73,7 @@ $('[data-ajax]').each(function() {
*/
phpbb.ajaxify({
selector: '#quickmodform',
filter: function(act, data) {
filter: function(data) {
var action = $('#quick-mod-select').val();
if (action === 'make_normal')