Code: Select all
phpbb.attachment_lightbox() {
this.init = function() {
if(this.sources === undefined) {
return this.addSources();
}
else {
return this.enable();
}
}
}
Code: Select all
phpbb.add_ajax_callback = function(id, callback)
{
if (typeof callback === 'function')
{
phpbb.ajax_callbacks[id] = callback;
}
return this;
}
Code: Select all
phpbb.add_ajax_callback = function (id, callback) {
if (typeof callback === 'function') {
phpbb.ajax_callbacks[id] = callback;
}
return this;
}
http://tracker.phpbb.com/browse/PHPBB3-10855
Patch
https://github.com/phpbb/phpbb3/pull/779