mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 18:17:03 +00:00
committed by
James Hillyerd
parent
4e8c287608
commit
8040b07c28
@@ -22,6 +22,19 @@ function deleteMessage(id) {
|
||||
})
|
||||
}
|
||||
|
||||
// Delete the mailbox
|
||||
function deleteMailBox() {
|
||||
cont = confirm("Are you sure you want delete the Mailbox?")
|
||||
if (cont == false) {
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
type: 'DELETE',
|
||||
url: '/api/v1/mailbox/' + mailbox,
|
||||
success: loadList
|
||||
})
|
||||
}
|
||||
|
||||
// flashTooltip temporarily changes the text of a tooltip
|
||||
function flashTooltip(el, text) {
|
||||
var prevText = $(el).attr('data-original-title');
|
||||
|
||||
Reference in New Issue
Block a user