1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-29 21:10:31 +02:00

[feature/ajax] JavaScript strict mode

PHPBB3-10270
This commit is contained in:
Igor Wiedler
2012-02-08 19:03:30 +01:00
parent 628074bf70
commit d53c36684d
3 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
(function($) { // Avoid conflicts with other libraries
"use strict";
/**
* The following callbacks are for reording forums in acp_forums. forum_down

View File

@@ -3,6 +3,8 @@ phpbb.alert_time = 100;
(function($) { // Avoid conflicts with other libraries
"use strict";
// define a couple constants for keydown functions.
var keymap = {
ENTER: 13,

View File

@@ -1,5 +1,6 @@
(function($) { // Avoid conflicts with other libraries
"use strict";
// This callback finds the post from the delete link, and removes it.
phpbb.add_ajax_callback('post_delete', function() {