Merge "Fix repoinfo loading bug"

This commit is contained in:
jenkins-bot 2014-02-06 09:27:40 +00:00 committed by Gerrit Code Review
commit 09314b3df9

View file

@ -652,7 +652,7 @@
mdpid = this.profileStart( 'metadata-fetch' ); mdpid = this.profileStart( 'metadata-fetch' );
this.fetchImageInfoAndFileUsageInfo( image.filePageTitle ).then( function ( imageData, repoInfo, targetWidth, requestedWidth, localUsage, globalUsage ) { this.fetchImageInfoAndFileUsageInfo( image.filePageTitle ).then( function ( imageData, repoInfo, targetWidth, requestedWidth, localUsage, globalUsage ) {
var repoData = mw.mmv.model.Repo.newFromRepoInfo( repoInfo[imageData.repo] ); var repoData = repoInfo[imageData.repo];
viewer.profileEnd( mdpid ); viewer.profileEnd( mdpid );