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.
This commit is contained in:
Teranode 2018-12-02 13:01:58 -05:00 committed by Luke Towers
parent bd2f14d510
commit 18a8e2f840
1 changed files with 1 additions and 0 deletions

View File

@ -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) {