Page MenuHomeIn-Portal Phabricator

D326.diff
No OneTemporary

File Metadata

Created
Tue, Aug 19, 1:10 PM

D326.diff

Index: branches/5.2.x/core/admin_templates/incs/grid_blocks.tpl
===================================================================
--- branches/5.2.x/core/admin_templates/incs/grid_blocks.tpl
+++ branches/5.2.x/core/admin_templates/incs/grid_blocks.tpl
@@ -739,6 +739,11 @@
<inp2:m_if check="{$PrefixSpecial}_UseAutoRefresh">
function refresh_grid() {
+ // Don't refresh grid, that has open modal windows.
+ if ( $modal_windows && TB.windowMetaData.length > 1 ) {
+ return;
+ }
+
// window.location.reload();
var $window_url = window.location.href;
if ($window_url.indexOf('skip_session_refresh=1') == -1) {

Event Timeline