Lines 81-89
KOHA.browser = function (searchid, biblionumber) {
Link Here
|
81 |
} else { |
81 |
} else { |
82 |
prevbutton = '<a href="#" id="browse-previous" class="browse-button">« ' + BROWSER_PREVIOUS + '</a>'; |
82 |
prevbutton = '<a href="#" id="browse-previous" class="browse-button">« ' + BROWSER_PREVIOUS + '</a>'; |
83 |
} |
83 |
} |
84 |
if (me.curPos === me.searchCookie.results.length && me.searchCookie.total == me.curPos + me.searchCookie.offset) { |
84 |
if (me.curPos === me.searchCookie.pagelen - 1 && me.curPos + me.offset === me.searchCookie.pagelen - 1) { |
85 |
nextbutton = '<span id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</span>'; |
85 |
nextbutton = '<span id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</span>'; |
86 |
} else { |
86 |
} |
|
|
87 |
else { |
87 |
nextbutton = '<a href="#" id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</a>'; |
88 |
nextbutton = '<a href="#" id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</a>'; |
88 |
} |
89 |
} |
89 |
$('#menu').before('<div class="browse-controls"><div class="browse-controls-inner"><div class="browse-label"><a href="' + searchURL + '" id="browse-return-to-results" class="browse-button">' + BROWSER_RETURN_TO_SEARCH + '</a></div><div class="browse-prev-next">' + prevbutton + nextbutton + '</div></div></div>'); |
90 |
$('#menu').before('<div class="browse-controls"><div class="browse-controls-inner"><div class="browse-label"><a href="' + searchURL + '" id="browse-return-to-results" class="browse-button">' + BROWSER_RETURN_TO_SEARCH + '</a></div><div class="browse-prev-next">' + prevbutton + nextbutton + '</div></div></div>'); |
90 |
- |
|
|