My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Nov 09, 2009
    issue 5 (Getting duplicates records in my timeline listing from ajax ...) commented on by mark.borkum   -   The problem is caused by extraneous calls to "f()" in the loadXML and loadJSON methods of Timeline and Timeline._Impl It can be resolved [with no flickering] by ignoring responses with the "304 Not Modified" status code. 1. Replace lines 193 and 197 of simile_timeline.rb, with: "function(xml,url){#{js_id}_event_source.clear();#{js_id}_event_source.loadJSON(xml,url);})}", 2. Wrap the FOUR calls to "f()" in the loadXML and loadJSON methods, with: if(xmlhttp.status!=304){ f(...) }
    The problem is caused by extraneous calls to "f()" in the loadXML and loadJSON methods of Timeline and Timeline._Impl It can be resolved [with no flickering] by ignoring responses with the "304 Not Modified" status code. 1. Replace lines 193 and 197 of simile_timeline.rb, with: "function(xml,url){#{js_id}_event_source.clear();#{js_id}_event_source.loadJSON(xml,url);})}", 2. Wrap the FOUR calls to "f()" in the loadXML and loadJSON methods, with: if(xmlhttp.status!=304){ f(...) }
  • Sep 11, 2008
    issue 5 (Getting duplicates records in my timeline listing from ajax ...) commented on by ep...@opensourceconnections.com   -   I found a sorta solution at http://code.google.com/p/simile-widgets/wiki/Timeline_LoadEventsDynamically in onscroll_js I added this: "#{js_id}_event_source.clear();", which does remove things so when I add it's empty. It does add some flickering...
    I found a sorta solution at http://code.google.com/p/simile-widgets/wiki/Timeline_LoadEventsDynamically in onscroll_js I added this: "#{js_id}_event_source.clear();", which does remove things so when I add it's empty. It does add some flickering...
  • Sep 11, 2008
    issue 5 (Getting duplicates records in my timeline listing from ajax ...) reported by ep...@opensourceconnections.com   -   What steps will reproduce the problem? 1. Go to www.hightechcville.com 2. click browse events 3. if you move back and forth in the timeline you see each ajax call duplicating an event!
    What steps will reproduce the problem? 1. Go to www.hightechcville.com 2. click browse events 3. if you move back and forth in the timeline you see each ajax call duplicating an event!
 
Hosted by Google Code