mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that macros should be run on the older version of Safari and Chrome. Fixes #5911
This commit is contained in:
committed by
Akshay Joshi
parent
98817a718f
commit
6addd207af
@@ -2801,7 +2801,8 @@ define('tools.querytool', [
|
||||
.done(function(res) {
|
||||
if (res) {
|
||||
// Replace the place holder
|
||||
let query = res.sql.replaceAll('$SELECTION$', self.gridView.query_tool_obj.getSelection());
|
||||
const regex = /\$SELECTION\$/gi;
|
||||
let query = res.sql.replace(regex, self.gridView.query_tool_obj.getSelection());
|
||||
|
||||
const executeQuery = new ExecuteQuery.ExecuteQuery(self, pgAdmin.Browser.UserManagement);
|
||||
executeQuery.poll = pgBrowser.override_activity_event_decorator(executeQuery.poll).bind(executeQuery);
|
||||
|
||||
Reference in New Issue
Block a user