Merge pull request #2643 from AlexanderS/fix-timeslider-export

timeslider: Fix export links
This commit is contained in:
John McLear 2015-04-29 15:48:10 +01:00
commit 4b4a121f08
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ function handleClientVars(message)
// export_links is a jQuery Array, so .each is allowed.
export_links.each(function()
{
this.setAttribute('href', this.href.replace( /(.+?)\/\w+\/(\d+\/)?export/ , '$1/' + padId + '/' + revno + '/export'));
this.setAttribute('href', this.href.replace( /(.+?)\/[^\/]+\/(\d+\/)?export/ , '$1/' + padId + '/' + revno + '/export'));
});
});