aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/ajax.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index 67feaa90b1..1920b53ce2 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/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);