I have installed the Shadowbox module and I use it to show the login page in a pop-up iframe.
The problem is when I click on the sign-in form submit button the iframe still appears and the page refreshing inside the iframe is not the original page.
How can I close the iframe after login and make the page reload?
The Ajax error is the following:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /arabdc/system/ajax
StatusText: parser error
ResponseText:
parent.window.location.reload(true);[ {“command”:”settings”,“settings”:{“basePath”:”u002Farabdcu002F”, “pathPrefix”:””, “ajaxPageState”:{“theme”:”bartik”, “theme_token”:”PQ_SrF6skDNUXCQNOJJg54EPuosNo0QM5sX6fr2Sfko”}, “heartbeat_language”:”ar”, “heartbeat_poll_url”:”http:u002Fu002Flocalhost:8888u002Farabdcu002Fheartbeatu002Fjsu002Fpoll”, “shadowbox”:{“animate”:0, “animateFade”:0, “animSequence”:”wh”, “auto_enable_all_images”:0, “auto_gallery”:0, “autoplayMovies”:true, “continuous”:0, “counterLimit”:”10″, “counterType”:”default”, “displayCounter”:1, “displayNav”:1, “enableKeys”:1, “fadeDuration”:”0.35″, “handleOversize”:”resize”, “handleUnsupported”:”link”, “initialHeight”:160, “initialWidth”:320, “language”:”ar”, “modal”:false, “overlayColor”:”#000″, “overlayOpacity”:”0.85″, “resizeDuration”:”0.35″, “showMovieControls”:1, “slideshowDelay”:”0″, “viewportPadding”:20, “useSizzle”:0}, “custom_search”:{“form_target”:”_self”, “solr”:0}}, “merge”:true}, {“command”:”invoke”, “selector”:null, “method”:”myJavascriptFunction”, “arguments”:[ ]}, {“command”:”insert”, “method”:”prepend”, “selector”:”head”, “data”:”u003Cstyle type=u0022textu002Fcssu0022 media=u0022allu0022u003E@import url(u0022http:u002Fu002Flocalhost:8888u002Farabdcu002Fsitesu002Fdefaultu002Ffilesu002Ffontyourfaceu002Ffont.css?mmj0o1u0022);u000A@import url(u0022http:u002Fu002Flocalhost:8888u002Farabdcu002Fsitesu002Fdefaultu002Ffilesu002Ffontyourfaceu002Flocal_fontsu002Fmyride-normal-normalu002Fstylesheet.css?mmj0o1u0022);u003Cu002Fstyleu003Eu000A”, “settings”:null} ]