

$('[data-ajax]').each(function() {
var fn = ($(this).data('ajax') !== 'true') ? $(this).data('ajax') : null;
phpbb.ajaxify({selector: this}, $(this).data('refresh') !== undefined, fn);
});$('[data-ajax]').ajaxify();
callumacrae wrote:I do think that the alerts and parse_querystring should be jQuery plugins, but Oleg wouldn't let me

naderman wrote:callumacrae wrote:I do think that the alerts and parse_querystring should be jQuery plugins, but Oleg wouldn't let me
Explain? He probably brought up an argument against it, and didn't just "not let you".


Oleg wrote:I still have reservations about the giant switch statement over the entire phpbb ui. Surely this can't be the best way of doing anything, although I have not spent enough time thinking about it to propose an alternative.
Oleg wrote:Were translations-related concerns addressed?

callumacrae wrote:What do you mean by the giant switch statement?
callumacrae wrote:Lack of translation abilities have been worked around, yes.

Oleg wrote:callumacrae wrote:What do you mean by the giant switch statement?
https://github.com/callumacrae/phpbb3/b ... le/ajax.js would be an example.
Oleg wrote:callumacrae wrote:Lack of translation abilities have been worked around, yes.
How?
I must say I would have preferred having documentation and explanations of changes instead of having to figure that out the hard way. After multiple hours spent reading the diff I'm starting to see what it is doing. I do expect all points that I requested to be documented be documented.

Return to [3.1/Ascraeus] Merged RFCs
Users browsing this forum: Bing [Bot] and 4 guests