Re: [pgAdmin4][patch][RM#2593]: Query Tool/ Debugger won't load withQt-5.1 with webkit - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin4][patch][RM#2593]: Query Tool/ Debugger won't load withQt-5.1 with webkit
Date
Msg-id CA+OCxoxszAdKySJhrLH4pKiLFMMHF5WLONARW2C7EAzN5fS0rw@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][patch][RM#2593]: Query Tool/ Debugger won't load withQt-5.1 with webkit  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
List pgadmin-hackers
Thanks, applied.

On Fri, Jul 21, 2017 at 2:06 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
Hi

When an instance of query tool and debugger is opened, it fails to load and gives following error in console:
`Promise is undefined.`

The reason is: These instances are loaded in an iframe and their bundles don't include `babel-polyfill` library. Babel-polyfill must be loaded first.

Please find attached patch and review it. Thanks to Khushboo for reporting it.

Thanks,
Surinder 





--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Ensure babel-polyfill is loaded in older qWebKits.Fi
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Fix test assertion.