Some fixes about the infinite scroll.

see #585
This commit is contained in:
Antoine Nguyen
2014-09-19 16:12:32 +02:00
parent cf77624e3c
commit 2d1ca0a9cd
5 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
$this.$options.process_results(data);
if (data.length === 0) {
$this.end_of_results = true;
/*$this.$element.find('#end-of-results').removeClass('hide');*/
$this.$options.end_of_list_reached($this.$element);
}
//$this.$element.find('.spinner').addClass('hide');
$this.executing = false;
+1 -1
View File
@@ -11,7 +11,7 @@
if (bid === undefined) {
bid = "notifybox";
}
var div = $("<div class='alert' />", {
var div = $("<div class='alert alert-dismissible' role='alert' />", {
id: bid,
click: $.proxy(this.destroy_box, this)
}).css({