Index: /jsf-extensions-HEAD/code/run-time/avatar/src/main/resources/com_sun_faces_ajax.js =================================================================== --- /jsf-extensions-HEAD/code/run-time/avatar/src/main/resources/com_sun_faces_ajax.js (revision 389) +++ /jsf-extensions-HEAD/code/run-time/avatar/src/main/resources/com_sun_faces_ajax.js (working copy) @@ -845,7 +845,7 @@ // If the user specified a postReplace... if (this.options.postReplace) { // look at its type. - if ((optionType == typeof this.options.postReplace) != + if ((optionType = typeof this.options.postReplace) != 'undefined') { // If its type is already a function... if (optionType == 'function') {