Hi there.
I want to add a "Are you sure" pop-up or something when someone wants to delete a photo.
Is tihs possible?
At this moment when I press delete button, the photo is gone without confirmation
Hi there. I want to add a "Are you sure" pop-up or something when someone wants to delete a photo. Is tihs possible? At this moment when I press delete button, the photo is gone without confirmation |
Hello do you mean admin or users part of site? PS: If possible do not write me personally, please try to ask on the forum first |
Hello do you mean admin or users part of site? User part of the site. When someone wants to delete his/her photo |
:( |
There are a lot of areas that need a delete check. I accidentally deleted an event I spent over an hour creating once. It's a soft spot in these scripts. http://towtalk.net ... Hosted by Zarconia.net! |
I agree. I made that request and they told me that they had a discussion over this in the past and they finally decided that admins should not have confirmations dialog before delete. I totally disagree. NO system should be left without any delete confirmations and it's one of the first rule in GUI interface. Mistakes happen to admins too. Anyway, boonex developers have seem to have made there minds on this so forget about it.
|
I totally disagree. NO system should be left without any delete confirmations and it's one of the first rule in GUI interface. Mistakes happen to admins too.
https://www.deanbassett.com |
You could add into function getHtmlData in public_html\inc\js\functions.js the lines: if (url.match(/delete/)) {
before the block starting around line 380 with: $.post(url, function(data)
It checks the url passed when clicking a button in the Actions frame and asks for confirmation in case it contains the word "delete". It seems to work but use at your own risk.
www.enviroware.com |
This simple Javascript program can be use, But there is no better idea?
function getHtmlData( elem, url, callback, method ) https://www.insoler.com/ The first community site supports RAW photo formats ! |