mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Fixed an issue where the Save button is enabled by default in Macro. Fixes #5905
2) Remove extra line after Manage Macros menu while clearing all macros. Fixes #5906 3) Ensure that 'Clear All Rows' should not work if there is no existing macro available and the user does not specify any value. Fixes #5907 4) Fixed an issue where the server is disconnected error message displayed if the user creates Macro with invalid SQL. Fixes #5929
This commit is contained in:
committed by
Akshay Joshi
parent
b3ca172f3a
commit
9bee91b6f6
@@ -4376,6 +4376,8 @@ define('tools.querytool', [
|
||||
|
||||
// Find the next space from the character or end of line
|
||||
var error_line = self.gridView.query_tool_obj.getLine(error_line_no);
|
||||
|
||||
if (_.isUndefined(error_line)) return;
|
||||
end_marker = error_line.indexOf(' ', start_marker);
|
||||
if (end_marker < 0)
|
||||
end_marker = error_line.length;
|
||||
|
||||
Reference in New Issue
Block a user