Gracefully handle bad ColReorder deserialization

This commit is contained in:
Albert Santoni 2015-04-14 11:36:13 -04:00
parent 28fc1cf2fc
commit a606fef5af
1 changed files with 5 additions and 3 deletions

View File

@ -468,11 +468,13 @@ var AIRTIME = (function(AIRTIME){
}
a = oData.ColReorder;
if (a) {
for (i = 0, length = a.length; i < length; i++) {
if (typeof(a[i]) === "string") {
a[i] = parseInt(a[i], 10);
}
}
}
oData.iCreate = parseInt(oData.iCreate, 10);
},