Commit 5a013ca7 by Dányi Bence

store: ajax default values

parent ada74b88
......@@ -305,9 +305,9 @@ $(function() {
return false;
});
self.quota = {
rawUsed: ko.observable(),
rawSoft: ko.observable(),
rawHard: ko.observable()
rawUsed: ko.observable(0),
rawSoft: ko.observable(0),
rawHard: ko.observable(0)
};
self.quota.used=ko.computed(function(){
var suffix = 'KB MB GB'.split(' ');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment