Quote:
Originally Posted by Analogus
Is there a command/function which saves not already saved data in system-cache?
|
Yes, there is:
Code:
kbook.model.commitCache();
To make the switch work, remove the {} from the case statement. So you get something like this:
The break statement at the end of a case is optional. Without it, the next case(s) will be executed as well. Additionally: getConfirmationDialog resets the dialog, so you don't have to define a 'do nothing' onNo function.