From 18a8e2f840ec540788189ea3b04953bacb163110 Mon Sep 17 00:00:00 2001 From: Teranode Date: Sun, 2 Dec 2018 13:01:58 -0500 Subject: [PATCH] Revert changes made to self.hide after ajax (#3950) This is needed as it removes leftover control-popover backdrops in any plugin backend that utilizes ajax in a popup modal (which is any of them that has relations or nested relations), so we will need to take a look at the dashboard widgets again. Credit to @ayumihamsaki. --- modules/system/assets/ui/js/popup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/assets/ui/js/popup.js b/modules/system/assets/ui/js/popup.js index c5b433268..610834212 100644 --- a/modules/system/assets/ui/js/popup.js +++ b/modules/system/assets/ui/js/popup.js @@ -274,6 +274,7 @@ // Wait for animations to complete var self = this setTimeout(function() { self.setBackdrop(false) }, 250) + setTimeout(function() { self.hide() }, 500) } Popup.prototype.triggerEvent = function(eventName, params) {