pgAdmin 4 commit: Don't try to use the template engine's gettext on Jav

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Don't try to use the template engine's gettext on Jav
Date: 2016-04-18 12:39:29
Message-ID: E1as8Sf-0003YL-EW@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 before any JS is executed.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=37699a982076a2e9cb2644d2e263a84f32f70f5a
Author: Neel Patel <neel(dot)patel(at)enterprisedb(dot)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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-04-18 12:39:37 Re: [pgAdmin4][patch]: String evaluation issue
Previous Message Dave Page 2016-04-18 12:37:11 Re: [pgAdmin4][Debugger]: Initial Patch