Change comment:
Update document after refactoring.
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -DevGuide.WebHome 1 +xwiki:Documentation.DevGuide.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. mflorea1 +XWiki.VincentMassol - Content
-
... ... @@ -28,8 +28,8 @@ 28 28 document.observe("xwiki:dom:loaded", function(){ 29 29 // Initialization that can rely on the fact the DOM is XWiki-tranformed goes here. 30 30 }); 31 -{{/code}} )))32 -((( 31 +{{/code}} 32 +)))((( 33 33 {{info}} 34 34 It is recommended to bind startup scripts to this event instead of ##window.load## or ##document.dom:loaded##. 35 35 {{/info}} ... ... @@ -91,13 +91,12 @@ 91 91 // do something specific 92 92 } 93 93 }); 94 -{{/code}} )))95 -((( 94 +{{/code}} 95 +)))((( 96 96 {{warning}} 97 97 While most properties can be accessed as ##event.memo.property##, this doesn't work with ##event.memo.continue## since ##continue## is a reserved keyword. 98 98 {{/warning}} 99 -))) 100 -((( 99 +)))((( 101 101 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, as ##event.memo.originalEvent##, and ##event.memo.form## respectively. 102 102 ))) 103 103 ... ... @@ -358,3 +358,4 @@ 358 358 {{code}} 359 359 this.entities = XWiki.EntityReferenceTree.fromJSONObject(transport.responseText.evalJSON()); 360 360 {{/code}} 360 +)))