mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-27 03:00:22 -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 +=`
|
queryToolForm +=`
|
||||||
</form>
|
</form>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("title").value = "${_.escape(panel_title)}";
|
document.getElementById("title").value = "${panel_title}";
|
||||||
document.getElementById("queryToolForm").submit();
|
document.getElementById("queryToolForm").submit();
|
||||||
</script>
|
</script>
|
||||||
`;
|
`;
|
||||||
@ -244,7 +244,7 @@ define('pgadmin.datagrid', [
|
|||||||
var queryToolPanel = pgBrowser.docker.addPanel('frm_datagrid', wcDocker.DOCK.STACKED, propertiesPanel[0]);
|
var queryToolPanel = pgBrowser.docker.addPanel('frm_datagrid', wcDocker.DOCK.STACKED, propertiesPanel[0]);
|
||||||
|
|
||||||
// Set panel title and icon
|
// Set panel title and icon
|
||||||
panelTitleFunc.setQueryToolDockerTitle(queryToolPanel, is_query_tool, panel_title);
|
panelTitleFunc.setQueryToolDockerTitle(queryToolPanel, is_query_tool, _.unescape(panel_title));
|
||||||
queryToolPanel.focus();
|
queryToolPanel.focus();
|
||||||
|
|
||||||
// Listen on the panel closed event.
|
// Listen on the panel closed event.
|
||||||
|
Loading…
Reference in New Issue
Block a user