[Seaside] How to Save a sorted list in Scriptaculous

Lukas Renggli renggli at gmail.com
Sat Sep 1 12:18:43 UTC 2007


> The code mentioned in the earlier mail works fine with FireFox 2.0, When you
> sort the "ordered List" , the numbers to the left are also updated
> accordingly. Today I tried to do the same thing in IE 6.0.2900, the sorting
> of items is done, but the number associated with respective listItem remains
> with it even after sorting it., Only after a browser refresh, the numbers
> are updated. Is this a bug or I have some problem in my code.

I tried to reproduce, but it works for me on IE 6.0.9800. Can you
provide more information to reproduce?

> How exactly do I use userAgent ?? Do distinguish between different browser
> and render the code accordingly (If at all it is done this way)

You should never use userAgent. This will break your code sooner or later ...

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list