Skip to content

Commit

Permalink
#283 stop reloading block with uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Trofimov committed Feb 9, 2016
1 parent 10bb384 commit eb4cf4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/base/uploader_html5.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
return;

// on upload page reload all blocks except itself
$('.page_block_container').filter(':not(#' + $('#accepted_files_block').parents('.page_block_container').attr('id') + ')').each(function () {
$('.page_block_container').filter(':not(#' + $('#__upload_type___accepted_files_block').parents('.page_block_container').attr('id') + ')').each(function () {
var iId = parseInt($(this).attr('id').replace('page_block_', ''));
loadDynamicBlock(iId, document.location.href);
});
Expand Down

0 comments on commit eb4cf4f

Please sign in to comment.