Show correct diff. fix #319

This commit is contained in:
Ruud
2012-05-25 22:23:18 +02:00
parent a3d812ece6
commit 30ef0e45e0
@@ -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();
}
}
});