projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cant refer to local with 'this'
[roojs1]
/
Roo
/
util
/
Format.js
diff --git
a/Roo/util/Format.js
b/Roo/util/Format.js
index
3c0715c
..
dd9c0dc
100644
(file)
--- a/
Roo/util/Format.js
+++ b/
Roo/util/Format.js
@@
-260,7
+260,7
@@
Roo.util.Format = function(){
return 0;
}
var i = parseInt(Math.floor(Math.log(value) / Math.log(1024)));
- return
this
.number(value/ Math.pow(1024, i) ,decimals) + ' ' + sizes[i];
+ return
Roo.util.Format
.number(value/ Math.pow(1024, i) ,decimals) + ' ' + sizes[i];
}