mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
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:
@@ -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')){
|
||||
|
||||
Reference in New Issue
Block a user