mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where an operation error message pop up showing the database object's name incorrectly. Fixes #7078
This commit is contained in:
committed by
Akshay Joshi
parent
603d91be0e
commit
191e2b6242
@@ -233,7 +233,7 @@ define('pgadmin.node.database', [
|
||||
if(res.data.info_prefix) {
|
||||
res.info = `${_.escape(res.data.info_prefix)} - ${res.info}`;
|
||||
}
|
||||
Notify.success(res.info);
|
||||
Notify.success(_.unescape(res.info));
|
||||
t.removeIcon(i);
|
||||
data.connected = false;
|
||||
data.icon = 'icon-database-not-connected';
|
||||
@@ -467,7 +467,7 @@ define('pgadmin.node.database', [
|
||||
res.info = gettext('Database already connected.');
|
||||
}
|
||||
if(res.data.info_prefix) {
|
||||
res.info = `${_.escape(res.data.info_prefix)} - ${res.info}`;
|
||||
res.info = `${res.data.info_prefix} - ${res.info}`;
|
||||
}
|
||||
if(res.data.already_connected) {
|
||||
Notify.info(res.info);
|
||||
|
||||
@@ -47,7 +47,7 @@ define(
|
||||
|
||||
text += '</div>';
|
||||
Notify.alert(
|
||||
title,
|
||||
_.unescape(title),
|
||||
text
|
||||
)
|
||||
.set({'closable': true,
|
||||
|
||||
@@ -862,7 +862,7 @@ define('pgadmin.browser.node', [
|
||||
* Make sure - we're using the correct version of node
|
||||
*/
|
||||
obj = pgBrowser.Nodes[d._type];
|
||||
var objName = d.label;
|
||||
var objName = _.unescape(d.label);
|
||||
|
||||
var msg, title;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user