luya-module-cms
luya-module-cms copied to clipboard
Data in blocks gets saved even if exiting without pressing button "save"
What steps will reproduce the problem?
- Enter a block and edit data
- Exit block by clicking "Esc"
What is the expected result?
The new data shouldn't be saved.
What do you get instead? (A Screenshot can help us a lot!)
The data is saved.
Additional infos
| Q | A |
|---|---|
| LUYA Version | dev-master (admin & cms) |
but not in database? a reload will show the old data?
You're right. It's not saved in the database.
The block should probably remember the data before editing and write it back if it's not saved.
zaaEsc only closes the editing modal.
Changing block data simultaneously changes the displayed block, which is overlayed by the modal. Is this the desired behavior?