var reSelected = /.*selected.*/;
-Lightbox = function(grid, toolbar, complete) {
+Lightbox = function(grid, toolbar, complete, container_type) {
var self = this;
this.grid = grid;
this._buildSlidesIndex(); // set this.slides and this.lastSlide;
this.fetchingDisabled = false;
this.complete = complete;
+ this.container_type = container_type;
this.toolbar = toolbar;
if (toolbar) {
this.toolbarFixed = false;
this.fm.submitButton = undefined;
this.refreshGrid();
break;
+ default :
+ this.fm.loadResponse(req);
+ break;
}
};
var url = absolute_url() +
'/portfolio_thumbnails_tail?start:int=' +
String(this.slides.length) +
- '&size:int=10';
+ '&size:int=10' +
+ '&container_type=' +
+ this.container_type;
req.open('GET', url, true);
req.send();
};