Accept string without suffix as fixedWidth.

Fixes infolog defaults missing when changing details/no details
This commit is contained in:
Nathan Gray 2014-09-18 02:29:14 +00:00
parent 946558b559
commit b7b6baaed5

View File

@ -119,6 +119,10 @@ var et2_dataview_column = ClassWithAttributes.extend({
{
this.fixedWidth = parseInt(w.substr(0, w.length - 2));
}
else if (typeof w == 'string' && !isNaN(w))
{
this.fixedWidth = parseInt(w);
}
},
set_visibility: function(_value) {