Fixed an issue where notifier not working when opening query tool in a new

window and then open it in the new tab.
This commit is contained in:
Akshay Joshi
2021-12-08 18:15:13 +05:30
parent 91a288c2bb
commit f24348b2b0
3 changed files with 8 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////
import { generateNodeUrl } from './node_ajax';
import Notify from '../../../static/js/helpers/Notifier';
import Notify, {initializeModalProvider, initializeNotifier} from '../../../static/js/helpers/Notifier';
define('pgadmin.browser', [
'sources/gettext', 'sources/url_for', 'require', 'jquery', 'underscore',
@@ -439,6 +439,9 @@ define('pgadmin.browser', [
}
initializeBrowserTree(obj);
initializeModalProvider();
initializeNotifier();
// Syntax highlight the SQL Pane
if(document.getElementById('sql-textarea')){