Browse Source

Show correct diff. fix #319

pull/358/merge
Ruud 13 years ago
parent
commit
30ef0e45e0
  1. 3
      couchpotato/core/_base/updater/static/updater.js

3
couchpotato/core/_base/updater/static/updater.js

@ -52,7 +52,7 @@ var UpdaterBase = new Class({
createMessage: function(data){
var self = this;
var changelog = 'https://github.com/'+data.repo_name+'/compare/'+data.version.hash+'...'+data.update_version.hash;
var changelog = 'https://github.com/'+data.repo_name+'/compare/'+data.version.hash+'...'+data.branch;
if(data.update_version.changelog)
changelog = data.update_version.changelog + '#' + data.version.hash+'...'+data.update_version.hash
@ -85,6 +85,7 @@ var UpdaterBase = new Class({
App.checkAvailable.delay(500, App);
if(self.message)
self.message.destroy();
window.location.reload();
}
}
});

Loading…
Cancel
Save