Give feedback if no update

This commit is contained in:
Ruud
2012-07-01 00:49:07 +02:00
parent f15351aa73
commit 6162ea9f42
3 changed files with 14 additions and 11 deletions
@@ -22,8 +22,10 @@ var UpdaterBase = new Class({
if(json.update_available)
self.doUpdate();
else
App.unBlockPage()
else {
App.unBlockPage();
App.fireEvent('message', 'No updates available');
}
}
})