Steve McMahon wrote: > Greetings KSS folks! > > Somewhere between Plone 3.0 and 3.1 some I used to cancel a blur server action > has stopped working. > > The Archetypes KSS support includes: > > input.blurrable:blur { > action-server: kssValidateField; > kssValidateField-fieldname: kssAttr('atfieldname', true); > kssValidateField-value: currentFormVar(); > kssValidateField-uid: kssAttr('atuid', true); > } > > PloneFormGen, which reuses the Archetypes fields, needs to avoid the inline > validation, and I've used the code: > > .pfg-form input.blurrable:blur { > action-cancel: kssValidateField; > } > > I'm pretty sure that was working in Plone 3.0, but the server event is > occurring > in Plone 3.1. If I use: > > .pfg-form input.blurrable:blur { > action-client: alert; > alert-message: "from ploneformgen.kss"; > } > > I do get the expected alert. > > Please let me know if I completely off base, or if there's any more I could do > to track this down. > > Thanks! Steve > >
I wonder if we have any test for action-cancel. I suspect there are none. One of us should add a test, check if it does work in kss.core 1.2 and 1.4 and fix whatever is needed. I'll try to do that asap. -- Godefroid Chapelle (aka __gotcha) http://bubblenet.be _______________________________________________ Kss-devel mailing list Kss-devel@codespeak.net http://codespeak.net/mailman/listinfo/kss-devel