mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Set value type to integer, removes warning about string & fixes missing file size
This commit is contained in:
parent
7e17ba49c0
commit
6c53a6f067
@ -239,6 +239,11 @@ et2_register_widget(et2_vfsMime, ["vfs-mime"]);
|
|||||||
* Human readable file sizes
|
* Human readable file sizes
|
||||||
*/
|
*/
|
||||||
var et2_vfsSize = et2_description.extend({
|
var et2_vfsSize = et2_description.extend({
|
||||||
|
attributes: {
|
||||||
|
"value": {
|
||||||
|
"type": "integer",
|
||||||
|
}
|
||||||
|
},
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
this.span.addClass("et2_vfs");
|
this.span.addClass("et2_vfs");
|
||||||
|
Loading…
Reference in New Issue
Block a user