KEYCLOAK-2446

Cordova not working
This commit is contained in:
Stian Thorgersen 2016-02-04 09:47:25 +01:00
parent ca38602cfe
commit 040b32ead7

View file

@ -885,7 +885,10 @@
});
ref.addEventListener('loaderror', function(event) {
if (event.url.indexOf('http://localhost') != 0) {
if (event.url.indexOf('http://localhost') == 0) {
callback = parseCallback(event.url);
ref.close();
} else {
error = true;
ref.close();
}
@ -917,7 +920,9 @@
});
ref.addEventListener('loaderror', function(event) {
if (event.url.indexOf('http://localhost') != 0) {
if (event.url.indexOf('http://localhost') == 0) {
ref.close();
} else {
error = true;
ref.close();
}