Change comment:
Typos, more details
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. jvelociter1 +XWiki.Sergiu - Content
-
... ... @@ -39,19 +39,25 @@ 39 39 40 40 <tt>xwiki:dom:loading</tt> is sent between <tt>dom:loaded</tt> and <tt>xwiki:dom:loaded</tt>, before XWiki changes the DOM. This is the event that should start all scripts making important DOM changes that other scripts should see. 41 41 42 +1.1.1 Document content events 43 + 44 +* *<tt>xwiki:document:saved</tt>* 45 + 46 +This is event is sent after the document has been successfully saved in an asynchronous request (i.e. after clicking the ~~Save and Continue~~ button). 47 + 42 42 1.1.1 Action events 43 43 44 44 * *<tt>xwiki:actions:cancel</tt>* 45 45 46 -This event is s avedafter theruse 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. 47 47 48 48 * *<tt>xwiki:actions:preview</tt>* 49 49 50 -This event is s avedafter ther 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. 51 51 52 52 * *<tt>xwiki:actions:save</tt>* 53 53 54 -This event is s avedafter 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: 55 55 56 56 {code} 57 57 document.observe("xwiki:dom:loaded", function(event){ ... ... @@ -62,7 +62,7 @@ 62 62 }); 63 63 {code} 64 64 65 -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. 66 66 67 67 1.1.1 Document extra events 68 68