Changeset 506

Show
Ignore:
Timestamp:
10/30/08 01:06:40 (2 months ago)
Author:
jesus
Message:

scoping issue causing back pagination not to work, refs #22

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ui/web/htdocs/search_simple.inc

    r450 r506  
    1515              if(c > l) { 
    1616                if(o > 0) { 
    17                   var po = Math.max(o-l, 0); 
    18                   $('<a/>').html( (po+1) + ' - ' + (po+l) ) 
     17                  var pop = Math.max(o-l, 0); 
     18                  $('<a/>').html( (pop+1) + ' - ' + (pop+l) ) 
    1919                           .click(function() { 
    20                              perform_datapoint_search(string,po,r.limit); 
     20                             perform_datapoint_search(string,pop,r.limit); 
    2121                             return false; 
    2222                           }).appendTo(page);