Some settings fixes
About tab styling
This commit is contained in:
1 parent
e8ae2dced0
commit
f248d5812b
7 files changed
+157
-51
No files matched your search
@@ -1,4 +1,6 @@
|
||||
var UpdaterBase = new Class({
|
||||
|
||||
Implements: [Events],
|
||||
|
||||
initialize: function(){
|
||||
var self = this;
|
||||
@@ -18,6 +20,9 @@ var UpdaterBase = new Class({
|
||||
self.timer = setTimeout(function(){
|
||||
Api.request('updater.info', {
|
||||
'onComplete': function(json){
|
||||
self.json = json;
|
||||
self.fireEvent('loaded', [json]);
|
||||
|
||||
if(json.update_version){
|
||||
self.createMessage(json);
|
||||
}
|
||||
@@ -30,6 +35,10 @@ var UpdaterBase = new Class({
|
||||
}, (timeout || 0))
|
||||
|
||||
},
|
||||
|
||||
getInfo: function(){
|
||||
return this.json;
|
||||
},
|
||||
|
||||
createMessage: function(data){
|
||||
var self = this;
|
||||
|
||||
Reference in new issue
Block a user