From eb4cf4fedd517f1c46b8c0f3f8ecb24345c3e72f Mon Sep 17 00:00:00 2001 From: Alex Trofimov Date: Wed, 10 Feb 2016 05:58:16 +0600 Subject: [PATCH] #283 stop reloading block with uploader --- templates/base/uploader_html5.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/uploader_html5.html b/templates/base/uploader_html5.html index 969964f2..e85339ce 100644 --- a/templates/base/uploader_html5.html +++ b/templates/base/uploader_html5.html @@ -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); });