mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
Bug 303830 bustage fix. Use toString() to make .split work in the single integer case r=dmose
This commit is contained in:
parent
96365d30b1
commit
dd36e2ffcc
@ -1273,7 +1273,7 @@ calStorageCalendar.prototype = {
|
||||
for (i = 0; i < rtypes.length; i++) {
|
||||
var comp = "BY" + rtypes[i].toUpperCase();
|
||||
if (row[rtypes[i]]) {
|
||||
var rstr = row[rtypes[i]].split(",");
|
||||
var rstr = row[rtypes[i]].toString().split(",");
|
||||
var rarray = [];
|
||||
for (var j = 0; j < rstr.length; j++) {
|
||||
rarray[j] = parseInt(rstr[j]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user