Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:ExactTarget/fuelux into gruntTask…
Browse files Browse the repository at this point in the history
…s-make-modules

Conflicts:
	Gruntfile.js
  • Loading branch information
interactivellama committed Aug 18, 2015
2 parents addb76b + baacc5c commit eea13a6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion js/repeater-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
$col.html(checkBoxMarkup);
}

if (this.viewOptions.list_columnRendered) {
if (!(columns[columnIndex].property === '@_CHECKBOX_@' || columns[columnIndex].property === '@_ACTIONS_@') && this.viewOptions.list_columnRendered) {
this.viewOptions.list_columnRendered({
container: $row,
columnAttr: columns[columnIndex].property,
Expand Down
16 changes: 10 additions & 6 deletions js/repeater.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@
},

infiniteScrolling: function (enable, options) {
var itemization = this.$element.find('.repeater-itemization');
var pagination = this.$element.find('.repeater-pagination');
var footer = this.$element.find('.repeater-footer');
var viewport = this.$element.find('.repeater-viewport');
var cont, data;

options = options || {};
Expand All @@ -337,8 +337,10 @@
delete options.dataSource;
delete options.end;
this.infiniteScrollingOptions = options;
itemization.hide();
pagination.hide();
viewport.css({
height: viewport.height() + footer.outerHeight()
});
footer.hide();
} else {
cont = this.infiniteScrollingCont;
data = cont.data();
Expand All @@ -350,8 +352,10 @@
this.infiniteScrollingEnabled = false;
this.infiniteScrollingEnd = null;
this.infiniteScrollingOptions = {};
itemization.show();
pagination.show();
viewport.css({
height: viewport.height() - footer.outerHeight()
});
footer.show();
}
},

Expand Down

0 comments on commit eea13a6

Please sign in to comment.