Re: [Debconf-team] Penta save button fix

2011-06-22 Thread Richard Darst
On Tue, Jun 21, 2011 at 06:30:40PM -0500, Gunnar Wolf wrote: > FWIW it's now committed and in production. In case there's a glitch, > please tell us. Oops - while closing that emacs, there was one unsaved file, thus there is one more patch in this set. It is "conference.rxml", so not visible by

Re: [Debconf-team] Penta save button fix

2011-06-21 Thread Gunnar Wolf
Richard Darst dijo [Tue, Jun 21, 2011 at 02:47:44AM -0400]: > I modified all the other files gwolf found [1] on pentatest for our > currently working scheme: it has both the old method (detect when > input focus leaves a field that has just been edited) and also one > that polls every 2 seconds for

Re: [Debconf-team] Penta save button fix

2011-06-20 Thread Richard Darst
On Tue, Jun 21, 2011 at 01:49:10AM +0100, Moray Allan wrote: > On Tue, Jun 21, 2011 at 12:44 AM, Moray Allan wrote: > > window.addEventListener('load', function() { > >  new Form.Observer('content_form', 1, function(element, value ) { > >               enable_save_button() } ); > > }, false); > >

Re: [Debconf-team] Penta save button fix

2011-06-20 Thread Moray Allan
On Tue, Jun 21, 2011 at 12:44 AM, Moray Allan wrote: > window.addEventListener('load', function() { >  new Form.Observer('content_form', 1, function(element, value ) { >               enable_save_button() } ); > }, false); Richard has tried this on pentatest, and it seems to work with the desired

Re: [Debconf-team] Penta save button fix

2011-06-20 Thread Moray Allan
On Sat, Jun 18, 2011 at 4:46 PM, Moray Allan wrote: > new Form.Observer('content_form', 2, function(element, value ) { > enable_save_button() } ); Gunnar tried this, but found that when put directly into the penta code it's making the save button be *always* shown -- an event is (for whatever rea

Re: [Debconf-team] Penta save button fix

2011-06-18 Thread Moray Allan
On Sat, Jun 18, 2011 at 4:46 PM, Moray Allan wrote: > One of the main issues people seem to have been hit by in penta is the > save button not appearing when they edit a text field (and then them > not realising that the contents haven't been saved). Just to clarify the problem further to anyone

[Debconf-team] Penta save button fix

2011-06-18 Thread Moray Allan
One of the main issues people seem to have been hit by in penta is the save button not appearing when they edit a text field (and then them not realising that the contents haven't been saved). The problem seems to be with the use of this construct from the prototype.js library in the output page: