On Fri, Jan 11, 2013 at 8:53 AM, Daniel Pisters wrote:
I have integrated your sorttable.js module in my web application as a
Please see the result on the Creative part of my new website :
or soon (as stupid nationalism requires)
This site is build from Dreamweaver CS6. On my Internet Explorer 8
(yet with Windows XP) , when I click on a header column, the content
is perfectly sorted in ascending or descending order. But with Google
Chrome or Safari, the sorting does not work ; it is sorted only once
in descending order. Can you suggest me a way to change your code to
match the specificities of these damned browsers?
I thank you in advance,
Answer to Question I
<pre lang="xml">Your problem, according to the web console in Firefox, is being throws by thiscode:
I don't know what that code is, I'm afraid; it doesn't seem to have anything to do with my sorttable.js :-)
De : Daniel Pisters Envoyé : dimanche 13 janvier 2013 7:36 À : 'Stuart Langridge'
Objet : RE: Sortable
Importance : Haute
First, I have to thank you very much for your rapid reactivity.
I put in comment the code you have pointed out as probably guilty and it did not change anything so that I uncommented it.
I have tested your code on IE, Firefox, Google Chrome and Safari. Google Chrome is perceived as a combined, hybrid Opera/Safari probably from legacy upon which this new monster was build
Compared to the first (IE), those browsers have different behaviors in catching the click event; that is to say: dean_AddEvent is called twice for the same event so that when the column was sorted, it is sorted again in the reverse order, resulting in a column being always sorted in the same order (descending). Please, see the sequence bellow:
After loading the page:
The sort occurs twice for the same event.
Note however that I have experienced such event redundancy in non web system, event programming such as Oracle Forms 4.5 and so on for Windows.
Thank in advance,
I thanks you all in advance,