mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Remove onunload handler when delete is cancelled.
This commit is contained in:
parent
732a921411
commit
76d1507677
@ -501,6 +501,7 @@ OC.Contacts={
|
||||
clickhandler:function(contact) {
|
||||
OC.Contacts.Contacts.insertContact({contact:contact});
|
||||
OC.Contacts.notify({message:t('contacts', 'Cancelled deletion of: "') + curlistitem.find('a').text() + '"'});
|
||||
window.onbeforeunload = null;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user