-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
1.2.x
-
None
clearDetails function works but not removeDetail function
function removeReminder(item)
{
for (var j = 0; j < item.details.length; j++) {
var existingDetail = item.details[j]
if (existingDetail.type == Detail.AudibleReminder) {
var bug = true
if (bug) {
var s = item.removeDetail(existingDetail)
item.save()
console.log("!!!!!!! S " + s) // true but audiblereminder is still there (item.details.length is same than before)
} else {
item.clearDetails()
}
return
}
}
}