Merge pull request #2176 from stianst/master

KEYCLOAK-2446
This commit is contained in:
Stian Thorgersen 2016-02-04 10:12:55 +01:00
commit affe6ef229

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();
}