Igor Wiedler
30888ff2a0
[feature/ajax] Use attr('data-foo') instead of data('foo')
...
data() is slower and does additional unwanted things like
caching and type conversion. Just reading the value is safer.
PHPBB3-10270
2012-03-31 02:09:23 +02:00
Igor Wiedler
265907b115
[feature/ajax] Replace keyboard vars with a keymap
...
PHPBB3-10270
2012-03-31 02:09:23 +02:00
Callum Macrae
3e53dff95c
[ticket/10271] Added some documentation to phpbb.ajaxify.
...
PHPBB3-10271
2012-03-31 02:09:23 +02:00
Callum Macrae
eee0624a69
[ticket/10271] Renamed an unhelpful variable name in core.js.
...
PHPBB3-10271
2012-03-31 02:09:23 +02:00
Callum Macrae
2189efadc6
[ticket/10270] Moved the AJAX error langyage entries to the footer.
...
PHPBB3-10270
2012-03-31 02:09:22 +02:00
Callum Macrae
f9ddeacd8e
[ticket/10272] Renamed l-err-processing-req to l-timeout-processing-req.
...
PHPBB3-10272
2012-03-31 02:09:22 +02:00
Callum Macrae
8da463ac9e
[ticket/10270] Recoded some potentially buggy code in phpbb.confirm.
...
The code before could have removed event handlers defined by other code.
PHPBB3-10270
2012-03-31 02:09:21 +02:00
Callum Macrae
03d4ae20d1
[ticket/10271] Started using .call for javascript callbacks.
...
Previously, they were just being called by appending parentheses and
functions. Now, they're being called and the element is being set as the
context instead of a parameter. It's a lot cleaner.
PHPBB3-10271
2012-03-31 02:09:21 +02:00
Callum Macrae
e0d6814772
[ticket/10270] Fixed a bug with the close button in phpbb.confirm.
...
PHPBB3-10270
2012-03-31 02:09:21 +02:00
Callum Macrae
cdfd746a25
[ticket/10271] Fixed the comment for phpbb.parse_querystring.
...
PHPBB3-10271
2012-03-31 02:09:20 +02:00
Callum Macrae
eabc6d29c4
[ticket/10271] Reduced calls to $ in phpbb.ajaxify.
2012-03-31 02:09:20 +02:00
Callum Macrae
415d33f20d
[ticket/10271] Renamed the "act" js variable to "action".
...
PHPBB3-10271
2012-03-31 02:09:20 +02:00
Callum Macrae
8a2f5f3269
[ticket/10271] Improved the comments on return_handler.
...
PHPBB3-10271
2012-03-31 02:09:20 +02:00
Callum Macrae
95659ba92c
[ticket/10271] Reduced calls to $ in the AJAX JavaScript.
...
PHPBB3-10271
2012-03-31 02:09:19 +02:00
Callum Macrae
1c5b1ede1c
[ticket/10271] Added comments to AJAX callbacks.
...
PHPBB3-10271
2012-03-31 02:09:19 +02:00
Callum Macrae
7f33897154
[ticket/10270] Renamed a variable in phpbb.parse_querystring.
...
It was originally "end", but was renamed to "params" to be more
descriptive.
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
dbccb57abb
[ticket/10270] Reduced calls to split in phpbb.parse_querystring.
...
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
69d9f5dd04
[ticket/10270] Fixed comments for phpbb.alert and phpbb.confirm.
...
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
7a6fb85875
[ticket/10270] Added a new line to constant declarations in JS.
...
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
1a8ec5d4fb
[ticket/10270] Added a comment to phpbb.loading_alert.
...
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
8adb626800
[ticket/10270] Made a comment clearer for phpbb.confirm.
...
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
6af2059403
[ticket/10270] DRYed alert fades in core.js.
...
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
badb0c3e5a
[ticket/10272] Fixed a bug in the ajax exceptions callback handler.
...
It was using code copied from a few lines above, which was designed for
forms and doesn't work with links.
PHPBB3-10272
2012-03-31 02:09:18 +02:00
Callum Macrae
3648dd99f7
[ticket/10271] Added comments to the JavaScript ajax functions.
...
PHPBB3-10271
2012-03-31 02:09:18 +02:00
Callum Macrae
3166cbb33d
[ticket/10270] Replaced find by tag names with class names in the js.
...
What it was before (selecting by tag name) could have caused some
problems for style authors.
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
ac2e270797
[ticket/10270] Replaced keydown numbers with named constants.
...
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
7d2422f928
[ticket/10271] Removed excess whitespace from core.js.
...
PHPBB3-10271
2012-03-31 02:09:17 +02:00
Callum Macrae
ba817086f8
[ticket/10270] Renamed the CSS class "jalert" to "phpbb_alert".
...
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
db7c4f938e
[ticket/10270] Added close buttons to phpbb.alert and phpbb.confirm.
...
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
0e55b2393d
[ticket/10270] Removed all the inline language and HTML from the JS.
...
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
818d989168
[feature/ajax] Moved script.js into a few different files.
...
Seperated it into: assets/javascript/core.js,
styles/prosilver/template/ajax.js and adm/style/ajax.js.
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Igor Wiedler
3b71c85dcf
[ticket/10155] Update to jQuery 1.6.2
...
PHPBB3-10155
2011-07-12 10:24:20 +02:00
Igor Wiedler
c945fc9355
[ticket/10155] Add jQuery, introduce global assets path
...
Add the jQuery JavaScript library to all pages, giving modifications
instant access and allowing for any future core JavaScript to take
advantage of it.
Also introduce a global /assets directory for assets that are shared
between styles.
PHPBB3-10155
2011-07-11 10:00:30 +02:00