Currently, I am utilizing a plugin to modify the appearance of the confirm popup. Although I have successfully customized the confirm popup, I am encountering an issue where upon clicking the delete icon, the custom confirm popup appears momentarily before the entry is automatically deleted without providing the option to choose between "ok" or "cancel".
The plugin I have implemented can be accessed at this URL:
Here is an excerpt of my code:
function deleteFeed(url, feed_id) {
if(jConfirm("Do you want to delete this feed?")) {
$.post(url+'feeds/delete/',
{
feedid: feed_id
}
, function(response) {
window.location.replace(url+'feeds/index');
});
}
}
I am seeking assistance with resolving this issue.