Prompt User to save changes on close button (dirty entity)


#1

Do I place the logic of any prompts to save your data before closing in the Table Class?


#2

Sorry, Your question is incomprehensible. At least for me.

Why you’re not not implementing this logic on the client side. With Javascript. You don’t need to stress your server to find out which data has changed. JQuery gives you handy methods to parse and validate form-data.


#3

Yeah that’s what I ended up doing and bare with me as sometimes I ask questions before I really thought them through.