Jump to content


How to maintain images when cancel button clicking even if deleted?

Grocery Crud Images Delete

  • Please log in to reply
1 reply to this topic

#1 delvinpkty

delvinpkty

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 31 July 2013 - 06:58 AM

In grocery crud edit form there is cancel button for cancelling this edit options and will go to view form.

In edit form, image selection have image delete option.

 

bKecm.png

 

 

But after delete button click, even if cancel button click the image will be deleted.

Anyone have any solution to resolve this ?

Thanks in advance.

 



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

Posted 31 July 2013 - 11:19 AM

Hello and welcome to the forums delvinpkty.

When you press the delete button for an image, while in editing mode, the image is deleted at that time.

This is the normal behaviour. It doesn't get deleted when you press the save (or cancel button).

I think that there isn't a way to change this, unless you change the library and the attached js code.


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr






Also tagged with one or more of these keywords: Grocery Crud, Images, Delete

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users