Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] stop instrusive Javascript for view

Subject: COmanage Developers List

List archive

Re: [comanage-dev] stop instrusive Javascript for view


Chronological Thread 
  • From: Benn Oshrin <>
  • To:
  • Subject: Re: [comanage-dev] stop instrusive Javascript for view
  • Date: Sat, 18 Jan 2014 17:32:50 -0500

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





Archive powered by MHonArc 2.6.16.

Top of Page