Was this patch generated against a WIP branch? I get:
(pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/fix_scripts_in_query_tool.patch error: web/pgadmin/static/js/setup_connection.js: No such file or directory
I guess this broke the script options (Create, Delete, Select, Insert, Update)
VM4124 datagrid.js:440Uncaught TypeError: self.get_panel_title is not a function at Object.success (VM4124 datagrid.js:440) at fire (jquery-1.11.2.js:3143) at Object.fireWith [as resolveWith] (jquery-1.11.2.js:3255) at done (jquery-1.11.2.js:9309) at XMLHttpRequest.callback (jquery-1.11.2.js:9713)