Skip to content

Commit

Permalink
Show basicSlider when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
gneissone committed May 25, 2016
1 parent 93b3306 commit 3d3f835
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bootstrap3.facetview.theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,13 @@ function basicPager(options) {
if (total != 0) {
from = from + 1; // zero indexed
}

if (!total || total == 0){
totaltext = ''
}
else {
totaltext = ' of ' + total
}

// forward and back-links, taking into account start and end boundaries
var backlink = '<a class="facetview_decrement">&laquo; back</a>';
Expand Down
3 changes: 3 additions & 0 deletions jquery.facetview2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1580,6 +1580,9 @@ function getUrlVars() {
facetVisibility();
}

// add the results metadata (paging, etc)
setUIResultsMetadata();

// add the loading notification
if (searching != "") {
$(".facetview_searching", obj).html(searching)
Expand Down

0 comments on commit 3d3f835

Please sign in to comment.