Merge pull request #2384 from mposolda/master

KEYCLOAK-2681 JS adapter init function with initOptions argument does…
This commit is contained in:
Marek Posolda 2016-03-18 14:16:51 +01:00
commit 5c98b8c6ae

View file

@ -163,6 +163,8 @@
} }
} else if (initOptions.onLoad) { } else if (initOptions.onLoad) {
onLoad(); onLoad();
} else {
initPromise.setSuccess();
} }
} else { } else {
initPromise.setSuccess(); initPromise.setSuccess();