Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] Shib EDS vs JavaScript

Subject: COmanage Developers List

List archive

Re: [comanage-dev] Shib EDS vs JavaScript


Chronological Thread 
  • From: Benn Oshrin <>
  • To: Arlen Johnson <>,
  • Subject: Re: [comanage-dev] Shib EDS vs JavaScript
  • Date: Sat, 22 Aug 2015 15:20:32 -0400

Fyi I thought I already pushed the updated conditional...

On August 22, 2015 3:07:28 PM EDT, Arlen Johnson <> wrote:
Ok - the first issue is pretty straightforward and is an easy fix:

Because the EDS requires a significant amount of _javascript_ in its
library, we turned off other libraries when it is in use, including
jquery. So the dialog box that would normally be hidden by turning it
into a jquery "dialog" is appearing as normal html. The text "Are you
sure you wish to proceed" is part of that html block. So, there's no
actual _javascript_ error: the dialog should probably be hidden instead.

I think, in fact, we tested for this in default.ctp after the first
changes, and it probably got re-exposed after the update since the
conditional would no longer match.

...Confirmed:

<?php if($this->here !=
'/registry/shibboleth_embedded_discovery_service/eds/view'):
// Don't load the following UI component when loading the Shib EDS. ?>
<div id="dialog" title="Confirm">

I can fix this if you like. :-)

...Looking at the second issue now.

Arlen

On 8/22/15 2:47 PM, Benn Oshrin wrote:
The first is the "Are you sure you wish to proceed?" text. This is
usually indicative of a _javascript_ error in the document, and the
interpreter aborting before the end of the file (where the div with that
text gets hidden). But the only message I can see is

"Synchronous XMLHttpRequest on the main thread is deprecated because of
its detrimental effects to the end user's experience. For more help,
checkhttp://xhr.spec.whatwg.org/."

which is a warning, not an error, and I see the same message on other
servers where this is not a problem.




Archive powered by MHonArc 2.6.16.

Top of Page