1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

12835 Commits

Author SHA1 Message Date
Callum Macrae
64df9d1406 [ticket/10272] Removed code that was prevent event propogation in AJAX.
PHPBB3-10272
2012-03-31 02:10:16 +02:00
Callum Macrae
ba56e34b6d [ticket/10291] Fixed a bug in the quick reply AJAX.
It wasn't submitting, as jQuery was ignoring the submit value.

PHPBB3-10291
2012-03-31 02:10:15 +02:00
Igor Wiedler
e73426fe26 [feature/ajax] Handle acp_modules error cases with JSON response
PHPBB3-10270
2012-03-31 02:10:15 +02:00
Igor Wiedler
2f44850a28 [feature/ajax] Fix filter check, quick mod tools data-attribute
PHPBB3-10270
2012-03-31 02:10:14 +02:00
Igor Wiedler
ea4362fc4c [feature/ajax] Use the error handler
PHPBB3-10270
2012-03-31 02:09:26 +02:00
Igor Wiedler
27199bb509 [feature/ajax] Generic error handling with a phpbb.alert box
PHPBB3-10270
2012-03-31 02:09:26 +02:00
Igor Wiedler
2f25173d93 [feature/ajax] Change filter semantics, some minor adjustments
PHPBB3-10270
2012-03-31 02:09:26 +02:00
Igor Wiedler
de82608e6f [feature/ajax] Refactor phpbb.ajaxify event callback
PHPBB3-10270
2012-03-31 02:09:26 +02:00
Igor Wiedler
4848d6c9e8 [feature/ajax] Bind to form.submit instead of form input.click
PHPBB3-10270
2012-03-31 02:09:25 +02:00
Igor Wiedler
b8a6a50f5c [feature/ajax] Rename exception to filter
PHPBB3-10270
2012-03-31 02:09:25 +02:00
Igor Wiedler
6ad4015a37 [feature/ajax] Add a missing semicolon
PHPBB3-10270
2012-03-31 02:09:25 +02:00
Igor Wiedler
fc0d2425dc [feature/ajax] Fix the alt_text ajax callback
PHPBB3-10270
2012-03-31 02:09:25 +02:00
Vjacheslav Trushkin
2ede0b1c81 [feature/ajax] Better handling for zebra
Better handling for zebra: message is displayed instead of first .zebra. Other .zebra entries are emptied, but not completely removed to avoid changing layout.

PHPBB3-10272
2012-03-31 02:09:25 +02:00
Igor Wiedler
8a0d8c0a84 [feature/ajax] Do not hard-code sorting images of acp_forums ordering
PHPBB3-10270
2012-03-31 02:09:25 +02:00
Igor Wiedler
7ed2cbef75 [feature/ajax] Make phpbb.ajaxify signature use single object (more explicit)
PHPBB3-10270
2012-03-31 02:09:25 +02:00
Igor Wiedler
1fc26eb1d5 [feature/ajax] Make quick-mod tools "exception" handling more explicit
PHPBB3-10270
2012-03-31 02:09:24 +02:00
Igor Wiedler
d96b07a745 [feature/ajax] Only allow object argument for phpbb.ajaxify
PHPBB3-10270
2012-03-31 02:09:24 +02:00
Igor Wiedler
a12b7a5c64 [feature/ajax] Fix alt_text and overlay closing
PHPBB3-10270
2012-03-31 02:09:24 +02:00
Igor Wiedler
d53c36684d [feature/ajax] JavaScript strict mode
PHPBB3-10270
2012-03-31 02:09:24 +02:00
Igor Wiedler
628074bf70 [feature/ajax] Stylistic JavaScript adjustments
PHPBB3-10270
2012-03-31 02:09:24 +02:00
Igor Wiedler
b100bb9a69 [feature/ajax] Replace return false with explicit preventDefault()
PHPBB3-10270
2012-03-31 02:09:23 +02:00
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
d1134f9a90 [ticket/10271] Improved the AJAXification of the quick-mod tools.
Instead of passing the querystring, now gets the value properly.

PHPBB3-10271
2012-03-31 02:09:23 +02:00
Callum Macrae
81e357beef [ticket/10272] Removed some duplication calls to $.fn.data.
PHPBB3-10272
2012-03-31 02:09:22 +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
0d83e8725b [ticket/10272] Made a JS selector less specific.
Now, style authors can change the posts to not be divs without the code
breaking!

PHPBB3-10272
2012-03-31 02:09:22 +02:00
Callum Macrae
05a88966d4 [ticket/10272] Renamed AJAX callback act_deact to activate_deactivate.
PHPBB3-10272
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
7e88dd0ba6 [ticket/10272] Added a space to the beginning of a comment.
PHPBB3-10272
2012-03-31 02:09:22 +02:00
Callum Macrae
e374678d7e [ticket/10272] Renamed a JavaScript variable.
PHPBB3-10272
2012-03-31 02:09:21 +02:00
Callum Macrae
6d8ecd7104 [ticket/10271] Added a comment to the AJAXification of quick-mod tools.
The comment clarifies which make_ functions use AJAX.

PHPBB3-10271
2012-03-31 02:09:21 +02:00
Callum Macrae
e5d0f2c6ad [ticket/10328] Fixed the header of json_response.php.
PHPBB3-10328
2012-03-31 02:09:21 +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
885c2914db [ticket/10270] Fixed JavaScript alerts in the ACP.
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
1d36873afe [ticket/10273] Changed variable names in the quickmodform AJAX.
They're now more descriptive.

PHPBB3-10273
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
8120023605 [ticket/10271] data-ajax="false" is now ignored.
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