Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
COmanage Registry 0.8.3 (Omnipotent Octagon 33 1/3)
Description
On Sun, Jan 19, 2014 at 4:38 PM, Arlen Johnson wrote:
Line 162 of app/View/Layouts/default.ctp contains:
// Make all submit buttons pretty
$("input:submit").button();
I expect this is too inclusive. One solution is to use a class on
all submit buttons we want to "buttonize" and select against that.
A less invasive solution is to remove just the submit you don't want
from the set of returned elements, e.g.
$("input:submit").not("#idpSelectSelectButton").button();
This is a simple solution, but perhaps not as clean as selecting a
class explicitly. Perhaps use the simple solution to get things
working, and when we overhaul the views, we can update the submit
buttons to have a class.
A
On 1/18/2014 5:35 PM, Scott Koranda wrote:
Hi,
Neither. It is generated by the Javascript code that is part of
the Shibboleth Embedded Discovery Service.
I just need the COmanage default layout to not "interfere" with it.
I did try setting
$ = null;
Jquery = null;
and that worked but then other things randomly appeared on the
screen as part of the default layout, so disabling Jquery does not
appear to be what we want.
Thanks,
Scott
On Sat, Jan 18, 2014 at 4:32 PM, Benn Oshrin wrote:
How are you generating the button? Are you writing the input
tag yourself, or using Cake's formhelper?
On 1/18/14 12:35 PM, Scott Koranda wrote:
Hi,
I have a simple view that draws a simple form with a simple
button:
<input id="idpSelectSelectButton" type="submit"
value="Continue" disabled="">
The default layout, however, includes somewhere some
Javascript that is rewriting that button to be
<input id="idpSelectSelectButton" class="ui-button ui-widget
ui-state-default ui-corner-all ui-button-disabled
ui-state-disabled" type="submit" value="Continue" disabled=""
role="button" aria-disabled="true">
Note the "ui-button-disabled" and "ui-state-disabled" class.
Other than turning off the default layout entirely and
recreating the parts I need/want, how can I stop the rewriting
of this button?
Thanks,
Scott
Attachments
Issue Links
- is duplicated by
-
CO-1065 Bad interaction between Javascript used for EDS and COmanage
-
- Resolved
-