calendar bug fixes

This commit is contained in:
Rushabh Mehta 2012-02-27 12:54:50 +05:30
parent 980d4dab3f
commit 337fc930ba

View file

@ -322,8 +322,7 @@ var rename_observers = [];
function notify_rename_observers(dt, old_name, new_name) {
// delete from local
try {
var old = locals[dt][old_name];
old.parent = null; old.__deleted = 1;
delete locals[dt][old_name];
} catch(e) {
alert("[rename_from_local] No Document for: "+ old_name);
}