aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/assets
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-11-18 17:31:10 +0000
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:22 +0200
commit2189efadc624deb515df1ba04c232724a2f8eae3 (patch)
tree8c395ac9ea5d0a1a4c58c8beaaa0cf7290b7f9db /phpBB/assets
parent0d83e8725bfa51427a629fb540daf16035492a97 (diff)
downloadforums-2189efadc624deb515df1ba04c232724a2f8eae3.tar
forums-2189efadc624deb515df1ba04c232724a2f8eae3.tar.gz
forums-2189efadc624deb515df1ba04c232724a2f8eae3.tar.bz2
forums-2189efadc624deb515df1ba04c232724a2f8eae3.tar.xz
forums-2189efadc624deb515df1ba04c232724a2f8eae3.zip
[ticket/10270] Moved the AJAX error langyage entries to the footer.
PHPBB3-10270
Diffstat (limited to 'phpBB/assets')
-rw-r--r--phpBB/assets/javascript/core.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 067676348b..b25e75e979 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -4,12 +4,12 @@ phpbb.alert_time = 100;
(function($) { // Avoid conflicts with other libraries
// define a couple constants for keydown functions.
-var ENTER = 13,
- ESC = 27;
+var ENTER = 13;
+var ESC = 27;
-var dark = $('#darkenwrapper'),
- loading_alert = $('#loadingalert');
+var dark = $('#darkenwrapper');
+var loading_alert = $('#loadingalert');
/**
@@ -30,7 +30,7 @@ phpbb.loading_alert = function() {
setTimeout(function() {
if (loading_alert.is(':visible'))
{
- phpbb.alert($('body').data('l-err'), $('body').data('l-timeout-processing-req'));
+ phpbb.alert($('#phpbb_alert').data('l-err'), $('#phpbb_alert').data('l-timeout-processing-req'));
}
}, 5000);
});