Hi everybody,
We have a project webpage (running couch 2.0) where most of the CRUD is done in the frontend (due to design freedom and inline editing).
For understanding our Page
Now we have a "Notes/Questions" field per project where the client can update notes/questions inline. We would like to toggle a database flag everytime a user edits that field, kind of like the red facebook notifications bubble. Then in the projects overview that red flag would mark every project with new notes. As soon a project manager reads the notes he can click a checkbox/button to change the flag to the state "read" meaning the notification would disappear again.
Problem
Generally we know how to program this... But we need to know (at runtime) when that notes field was saved inline to then send a second ajax request updating the flag. As the CKE editor is iniatilized on runtime i can't bind on any events... I also dont know of a possiblity to 'catch' ajax events in the couch backend.
Does anyone have any advice on how to achieve this? Thanks!
Regards Laduma
We have a project webpage (running couch 2.0) where most of the CRUD is done in the frontend (due to design freedom and inline editing).
For understanding our Page
Now we have a "Notes/Questions" field per project where the client can update notes/questions inline. We would like to toggle a database flag everytime a user edits that field, kind of like the red facebook notifications bubble. Then in the projects overview that red flag would mark every project with new notes. As soon a project manager reads the notes he can click a checkbox/button to change the flag to the state "read" meaning the notification would disappear again.
Problem
Generally we know how to program this... But we need to know (at runtime) when that notes field was saved inline to then send a second ajax request updating the flag. As the CKE editor is iniatilized on runtime i can't bind on any events... I also dont know of a possiblity to 'catch' ajax events in the couch backend.
Does anyone have any advice on how to achieve this? Thanks!
Regards Laduma