[jifty-devel] Problem with disabling buttons after submit in forms

Jesse Vincent jesse at bestpractical.com
Wed Aug 22 10:38:07 EDT 2007

On Aug 21, 2007, at 9:45 PM, Edward Funnekotter wrote:

> Here is a patch to jifty.js for the fix for a quick check.  I  
> created an array within the update function to hold all the  
> elements that had been disabled.  Then on success or failure I  
> simply iterate over them and enable them.  The failure case already  
> did reenable the fields, but it had to do do a lot of work to  
> figure them all out again.  Since I had the list already, I changed  
> that code to just use the list as well.
> Ed


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070822/7ebe3632/PGP.pgp

More information about the jifty-devel mailing list