Following File API spec.

This commit is contained in:
macdonst
2010-11-20 02:25:24 +08:00
parent af5c5dc021
commit 50b435c4d1
4 changed files with 295 additions and 56 deletions
+3 -2
View File
@@ -72,8 +72,9 @@ Contact.prototype.remove = function(successCB, errorCB) {
errorObj.code = ContactError.NOT_FOUND_ERROR;
errorCB(errorObj);
}
PhoneGap.exec(successCB, errorCB, "Contacts", "remove", [this.id]);
else {
PhoneGap.exec(successCB, errorCB, "Contacts", "remove", [this.id]);
}
};
/**