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:
Khushboo Vashi
2021-01-20 13:52:00 +05:30
committed by Akshay Joshi
parent b3ca172f3a
commit 9bee91b6f6
5 changed files with 30 additions and 16 deletions

View File

@@ -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;