Menu

A jst problem

2007-07-25
2013-04-22
  • Ivo Baehr - IbTech

    Hello...

    I found a problem in JST. But don't worry! It's so easy to correct!!!

    Well, the problem is this: You use the "top" window property to "storage" the references to JST Table, that you use in the "sort column click". The problem is this, because if you have a page, with a lot of iframes, and in each iframe a JST with the "same id" (like table1, for example), all of this iframes reference to the same window.top property. Then, you will have only one reference to one JST table. I do this (create a lot of iframes with a JST "built-in" with the same ID) and, when i click in the sort column of any JST table, the JST sorted is the last JST created (because this is the last reference in the top property).
    I think that to correct this problem, you will need to create a "static" array property in the JST to storage the reference and don't use the window.top property...

    Thank's!!!

    Ivo

     
    • Luis Fernando Planella Gonzalez

      Ok, fixed on CVS...

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.