Skip to content

Commit

Permalink
Strip stashed-yet-merged debug detritus from history UI fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Feb 20, 2017
1 parent ce264f9 commit a3a7e10
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 24 deletions.
2 changes: 0 additions & 2 deletions client/galaxy/scripts/mvc/base/controlled-fetch-collection.js
Expand Up @@ -201,8 +201,6 @@ var PaginatedCollection = ControlledFetchCollection.extend({
pageNum = self.constrainPageNum( pageNum );
self.currentPage = pageNum;
options = _.defaults( options || {}, self.getPageLimitOffset( pageNum ) );
console.log("fetchPage");
console.log(options);

self.trigger( 'fetching-more' );
return self.fetch( options )
Expand Down
4 changes: 1 addition & 3 deletions client/galaxy/scripts/mvc/history/history-model.js
Expand Up @@ -177,8 +177,7 @@ var History = Backbone.Model
// if we don't flip this, then a fully-fetched list will not be re-checked via fetch
this.contents.allFetched = false;
var fetchFn = self.contents.currentPage !== 0
? function(){ console.log("FETCH PAGE PARTICULAR" + self.contents.currentPage);
return self.contents.fetchPage( self.contents.currentPage ); }
? function(){ return self.contents.fetchPage( self.contents.currentPage ); }
: function(){ return self.contents.fetchUpdated( lastUpdateTime ); };
// note: if there was no previous update time, all summary contents will be fetched
return fetchFn()
Expand All @@ -194,7 +193,6 @@ var History = Backbone.Model

/** continuously fetch updated contents every UPDATE_DELAY ms if this history's datasets or jobs are unfinished */
checkForUpdates : function( options ){
console.log("CHECK FOR UPDATES");
// console.log( this + '.checkForUpdates' );
options = options || {};
var delay = this.UPDATE_DELAY;
Expand Down
1 change: 0 additions & 1 deletion client/galaxy/scripts/mvc/history/history-view.js
Expand Up @@ -241,7 +241,6 @@ var HistoryView = _super.extend(

/** override to render pagination also */
renderItems: function( $whereTo ){
console.log("RENDER ITEMS");
// console.log( this + '.renderItems-----------------', new Date() );
$whereTo = $whereTo || this.$el;
var self = this;
Expand Down
2 changes: 1 addition & 1 deletion static/maps/mvc/base/controlled-fetch-collection.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3a7e10

Please sign in to comment.