I think the javascript solution is better, because it let you submit a set of configuration changes atomically.
Greetings, Miguel Angel 2008/4/28 Alvaro Lopez Ortega <[EMAIL PROTECTED]>: > Hi Gunnar, > > It is a usability issue, indeed. > > I can think of a couple ways for fixing it: The first one would be to > remove the Apply button from the side bar and force the local "submit" > buttons to punch the configuration into the server. > > The second choice would be to add some Javascript code to warn the > user if he tries to leave a modified page without submitting the > changes. Since this is the most popular behavior I guess it is simply > a better approach. > > Help from skilled web developer would be greatly appreciated here.. :-) > > > On 28 Apr 2008, at 20:11, Gunnar Wolf wrote: > > > severity 477946 minor > > thanks > > > > Hi, > > > > I am copying this message over to the Cherokee upstream mailing list, > > as I think they might be interested in actually solving the > > bug. People, please look over at > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477946 for the actual > > bug report. > > > > I think the bug is rather a usability issue (otherwise, it is an > > unreproducible bug :) as cherokee-admin _does_ work for me). The thing > > is, for most screens at least, clicking on 'submit' will only modify > > cherokee-admin's in-memory representation of the configuration - It > > won't even cause the server to change its behaviour. Only when you > > click on 'Apply', on the left panel, are the changes saved and the > > server status gets changed (AFAICT, it is basically restarted). > > > > So, what do I propose, dear upstream community? Maybe it would be good > > to add some checks, i.e. by Javascript, to remind the user to apply > > the changes if he navigates away from the page without saving his > > work? > > > > Greetings, > > > > -- > > Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244 > > PGP key 1024D/8BB527AF 2001-10-23 > > Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF > > _______________________________________________ > > Cherokee mailing list > > [EMAIL PROTECTED] > > http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee > > -- > Greetings, alo. > http://www.alobbs.com/ > > _______________________________________________ > Cherokee mailing list > [EMAIL PROTECTED] > http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee >