Personal tools
You are here: Home   Bugs   Confirmations  
 
Document Actions

#7 — Confirmations

State Unconfirmed
Release:
Area Client side framework and general
Issue type Feature
Severity Medium
Submitted by Danny Bloemendaal
Submitted on 2007-07-05
Responsible
Target release:
Return to tracker
Last modified on 2007-07-05 by Danny Bloemendaal
It would be very nice if you can ask the user to confirm before an action is performed:

#myDeleteButton:click {
    action-server:deleteAllObjects;
    deleteAllObjects-kssSubmitForm: currentForm();
    action-confirm-message:"Are you sure you want to delete all items?";
}

Or something like that. Of course you can do things like this by unhiding forms but it makes the development process just a bit more complex and since js already has confirmation dialogs, why not use them?