mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 09:16:29 -06:00
Re-fix database name unescaping the query tool title bar.
This commit is contained in:
parent
60a6c501fb
commit
a68f0702e2
@ -227,7 +227,7 @@ define('pgadmin.datagrid', [
|
||||
queryToolForm +=`
|
||||
</form>
|
||||
<script>
|
||||
document.getElementById("title").value = "${_.escape(panel_title)}";
|
||||
document.getElementById("title").value = "${panel_title}";
|
||||
document.getElementById("queryToolForm").submit();
|
||||
</script>
|
||||
`;
|
||||
@ -244,7 +244,7 @@ define('pgadmin.datagrid', [
|
||||
var queryToolPanel = pgBrowser.docker.addPanel('frm_datagrid', wcDocker.DOCK.STACKED, propertiesPanel[0]);
|
||||
|
||||
// Set panel title and icon
|
||||
panelTitleFunc.setQueryToolDockerTitle(queryToolPanel, is_query_tool, panel_title);
|
||||
panelTitleFunc.setQueryToolDockerTitle(queryToolPanel, is_query_tool, _.unescape(panel_title));
|
||||
queryToolPanel.focus();
|
||||
|
||||
// Listen on the panel closed event.
|
||||
|
Loading…
Reference in New Issue
Block a user