mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Merge branch '3.2.x' into 3.3.x
This commit is contained in:
@@ -21,7 +21,9 @@ phpbb.plupload.initialize = function() {
|
|||||||
// Only execute if Plupload initialized successfully.
|
// Only execute if Plupload initialized successfully.
|
||||||
phpbb.plupload.uploader.bind('Init', function() {
|
phpbb.plupload.uploader.bind('Init', function() {
|
||||||
phpbb.plupload.form = $(phpbb.plupload.config.form_hook)[0];
|
phpbb.plupload.form = $(phpbb.plupload.config.form_hook)[0];
|
||||||
phpbb.plupload.rowTpl = $('#attach-row-tpl')[0].outerHTML;
|
let $attachRowTemplate = $('#attach-row-tpl');
|
||||||
|
$attachRowTemplate.removeClass('attach-row-tpl');
|
||||||
|
phpbb.plupload.rowTpl = $attachRowTemplate[0].outerHTML;
|
||||||
|
|
||||||
// Hide the basic upload panel and remove the attach row template.
|
// Hide the basic upload panel and remove the attach row template.
|
||||||
$('#attach-row-tpl, #attach-panel-basic').remove();
|
$('#attach-row-tpl, #attach-panel-basic').remove();
|
||||||
|
Reference in New Issue
Block a user