jc7447/BetterDynAdmin

[JDBC] JDBC page crashes on Chrome

Closed this issue · 2 comments

The JDBC page crashes on Chrome. Looks like it's liked to a synchronous ajax call ( which should be avoided anyway) that loops indefinetely on /dyn/admin/nucleusundefined

VM145:8 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.send
@ VM145:8ajax
@ VM145:8getCurrentDataSource
@ VM145:4240setupExecuteQueryPage
@ VM145:4175build
@ VM145:4156$.fn.bdajdbc
@ VM145:4276init
@ VM145:10733(anonymous function)
@ VM145:10883(anonymous function)
@ VM145:10894j
@ VM145:6k
@ VM145:6(anonymous function)
@ VM106:2e.string.c.(anonymous function)
@ VM144:54

fixed the loop (weird i != array.length)

The async ajax calls should still be fixed

It's fixed now