Set value type to integer, removes warning about string & fixes missing file size

This commit is contained in:
Nathan Gray 2012-07-23 17:59:09 +00:00
parent 7e17ba49c0
commit 6c53a6f067

View File

@ -239,6 +239,11 @@ et2_register_widget(et2_vfsMime, ["vfs-mime"]);
* Human readable file sizes
*/
var et2_vfsSize = et2_description.extend({
attributes: {
"value": {
"type": "integer",
}
},
init: function() {
this._super.apply(this, arguments);
this.span.addClass("et2_vfs");