franck@2: Index: popups.js franck@2: =================================================================== franck@2: --- popups.js (révision 638) franck@2: +++ popups.js (copie de travail) franck@2: @@ -77,7 +77,7 @@ franck@2: */ franck@2: Popups.defaultOptions = { franck@2: doneTest: null, // null, *path*, *regexp*. how do we know when a multiform flow is done? franck@2: - updateMethod: 'ajax', // none, ajax, reload, *callback* franck@2: + updateMethod: 'ajax', // none, ajax, reload, callback franck@2: updateSource: 'initial', // initial, final. Only used if updateMethod != none. franck@2: href: null, franck@2: width: null, // Override the width specified in the css. franck@2: @@ -86,7 +86,8 @@ franck@2: reloadOnError: false, // Force the entire page to reload if the popup href is unaccessable. franck@2: noMessage: false, // Don't show drupal_set_message messages. franck@2: skipDirtyCheck: false, // If true, this popup will not check for edits on the originating page. franck@2: - hijackDestination: true // Use the destiination param to force a form submit to return to the originating page. franck@2: + hijackDestination: true, // Use the destiination param to force a form submit to return to the originating page. franck@2: + onUpdate: null // Callback used for the updateMethod: 'callback' type franck@2: }; franck@2: franck@2: // ***************************************************************************