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: Arlen Johnson <>
  • To: Benn Oshrin <>,
  • Subject: Re: [comanage-dev] Shib EDS vs JavaScript
  • Date: Sat, 22 Aug 2015 15:32:31 -0400

Ah - you did the one above, but not the lower one that shuts off the dialog.  I'll commit that one back.

It would probably be better to set a view variable in the Pages controller and test for that, but if that doesn't go quickly I'll just fix the path.

A

On 8/22/15 3:20 PM, Benn Oshrin wrote:
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