[pgAdmin4][Patch]: Using client-side 'url_for' implementation in Sqleditor module

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: Using client-side 'url_for' implementation in Sqleditor module
Date: 2017-06-26 06:45:24
Message-ID: CAM5-9D_RYn1Vj9vvO6HiJn74L8m9VALVMqm+GDuSe7+wAHpO6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

Changes:

1. Replace Jinja {{ url_for }} with js 'url_for'

2. While minifying JS using webpack, I got couple of errors(variables
undefined) in browser for generated sqleditor.js, so declared those
variables before using them.

Please find attached patch.

Thanks,
Surinder Kumar

Attachment Content-Type Size
url_for_sqleditor.patch application/octet-stream 21.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2017-06-26 07:25:31 [pgAdmin4][patch]: Fixed RM #2507 : REVOKE privileges do not display in SQL tab for the function
Previous Message Surinder Kumar 2017-06-26 06:05:24 [pgAdmin4][Patch]: Using client-side 'url_for' implementation in the datagrid module