[pgAdmin4][patch][RM#2593]: Query Tool/ Debugger won't load withQt-5.1 with webkit
[pgAdmin4][patch][RM#2593]: Query Tool/ Debugger won't load withQt-5.1 with webkit
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
Re: [pgAdmin4][patch][RM#2593]: Query Tool/ Debugger won't load withQt-5.1 with webkit
От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks, applied.
On Fri, Jul 21, 2017 at 2:06 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
HiWhen 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
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company