pgAdmin 4 commit: Don't try to use the template engine's gettext on Jav - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Don't try to use the template engine's gettext on Jav
Date
Msg-id E1as8Sf-0003YL-EW@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Don't try to use the template engine's gettext on Javascript variables, as it won't work as the templates are evaluated
beforeany JS is executed. 

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=37699a982076a2e9cb2644d2e263a84f32f70f5a
Author: Neel Patel <neel.patel@enterprisedb.com>

Modified Files
--------------
.../servers/databases/casts/templates/cast/js/casts.js        |  5 ++---
.../servers/databases/templates/databases/js/databases.js     |  9 +++++++--
.../server_groups/servers/templates/servers/servers.js        | 11 ++++++++---
3 files changed, 17 insertions(+), 8 deletions(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Debugger]: Initial Patch
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][patch]: String evaluation issue