From 8a0eae2bb011dfe635aa9420fbccc62ac2f0bac1 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Mon, 14 Apr 2025 12:57:26 +0530 Subject: [PATCH] Fixed an issue where drag and drop function with no parameters does not work. #8613 --- docs/en_US/release_notes_9_3.rst | 4 +++- web/pgadmin/static/js/tree/ObjectExplorer.jsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en_US/release_notes_9_3.rst b/docs/en_US/release_notes_9_3.rst index 9d8eda7fe..ce2d726f3 100644 --- a/docs/en_US/release_notes_9_3.rst +++ b/docs/en_US/release_notes_9_3.rst @@ -35,4 +35,6 @@ Bug fixes | `Issue #8497 `_ - Fixed an issue where the scroll position in the Object Explorer was not retained when switching workspaces. | `Issue #8556 `_ - Ensure that graph data is updated even when the Dashboard tab is inactive. | `Issue #8572 `_ - Fixed an issue where Ctrl/Cmd+A in cell editor would select all rows. - | `Issue #8630 `_ - Fixed an issue where filtering on a view caused an error. \ No newline at end of file + | `Issue #8613 `_ - Fixed an issue where drag and drop function with no parameters does not work. + | `Issue #8630 `_ - Fixed an issue where filtering on a view caused an error. + | `Issue #8632 `_ - Fixed an issue where the query tool went blank when converting history dates to the appropriate locale format. diff --git a/web/pgadmin/static/js/tree/ObjectExplorer.jsx b/web/pgadmin/static/js/tree/ObjectExplorer.jsx index 7a1526b1a..a860fead1 100644 --- a/web/pgadmin/static/js/tree/ObjectExplorer.jsx +++ b/web/pgadmin/static/js/tree/ObjectExplorer.jsx @@ -79,7 +79,7 @@ function postTreeReady(b) { dropVal = dropVal + ')'; } else { dropVal = dropVal + '()'; - curPos.from = curPos.to = dropVal.length + 1; + curPos.from = curPos.to = dropVal.length; } return {