Обсуждение: [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

От
Surinder Kumar
Дата:
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
Дата:
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