Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1102967
D326.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Aug 19, 1:10 PM
Size
673 B
Mime Type
text/x-diff
Expires
Wed, Aug 20, 1:10 PM (5 h, 46 m)
Engine
blob
Format
Raw Data
Handle
714332
Attached To
D326: INP-498 - Block grid auto-refresh, when Modal Window is opened
D326.diff
View Options
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
Log In to Comment