Stop user from deleting a set file name not working |
(10-10-2015, 12:29 AM)JayAdra Wrote: It looks like your "validation" is just checking if the variable $no_image_check is set, which it is on the previous line. I have check boxes below each image though and user needs to have that check box checked before delete but need to make sure does not delete the no_image.jpg. I am also not sure if I have my json message in correct places. PHP Code: public function delete() {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Stop user from deleting a set file name not working - by wolfgang1983 - 10-10-2015, 12:26 AM
RE: Stop user from deleting a set file name not working - by JayAdra - 10-10-2015, 12:29 AM
RE: Stop user from deleting a set file name not working - by wolfgang1983 - 10-10-2015, 12:52 AM
RE: Stop user from deleting a set file name not working - by wolfgang1983 - 10-10-2015, 01:14 AM
|