Change comment:
Typos, more details
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -49,15 +49,15 @@ 49 49 50 50 * *<tt>xwiki:actions:cancel</tt>* 51 51 52 -This event is sent after the user clicks the "Cancel" button of an editor (Wiki, WYSIWYG, object, rights, etc.) 52 +This event is sent after the user clicks the "Cancel" button of an editor (Wiki, WYSIWYG, object, rights, etc.), but before actually cancelling the edit. 53 53 54 54 * *<tt>xwiki:actions:preview</tt>* 55 55 56 -This event is sent after the use clicks the "Preview" button of an editor (Wiki, WYSIWYG, object, rights, etc.) 56 +This event is sent after ther use clicks the "Preview" button of an editor (Wiki, WYSIWYG, object, rights, etc.), but before actually leaving the edit mode. 57 57 58 58 * *<tt>xwiki:actions:save</tt>* 59 59 60 -This event is sent after the user clicks the "Save" or "Save & Continue" button of an editor (Wiki, WYSIWYG, object, rights, etc.). A memo is available if you need to know if the intend is to continue after the save. You can use it as follow: 60 +This event is sent after the user clicks the "Save" or "Save & Continue" button of an editor (Wiki, WYSIWYG, object, rights, etc.), but before actually submitting the form. A memo is available if you need to know if the intend is to continue after the save, in <tt>event.memo.continue</tt>. You can use it as follows: 61 61 62 62 {code} 63 63 document.observe("xwiki:dom:loaded", function(event){ ... ... @@ -68,7 +68,7 @@ 68 68 }); 69 69 {code} 70 70 71 -All these events contain as extra information, in the second parameter sent to event listeners, the original click event (if any, and which can be stopped to prevent the action from completing), and the form being submitted. 71 +All these events contain as extra information, in the second parameter sent to event listeners (the memo), the original click event (if any, and which can be stopped to prevent the action from completing), and the form being submitted. 72 72 73 73 1.1.1 Document extra events 74 74