fix info, If I use an action button to replace the default filter apply button, if I enter words in the filter field then press enter, the same error(double click) take place.
johnson johnson 提到: > If I change the default filter-button to an action-button without > submit, it'll ok. > > Best Regards > > johnson > > johnson 提到: > >> Hi! >> >> I try to put the forms pagination sample to portal, when using filter, >> If I enter the filter words then click apply, the form will be click >> twice, then cause an error. >> >> If I remove this code in forms-field-styling.xsl, it'll ok, but the >> onchange will not work. >> >> <xsl:if test="@listening = 'true' and not(fi:styling/@submit-on-change = >> 'false') and not(fi:styling/@onchange) and not(fi:styling/@list-type = >> 'double-listbox')"> >> <xsl:choose> >> <!-- IE does not react to a click with an onchange, as firefox does, so >> for radio and checkbox put an onclick handler instead --> >> <xsl:when test="local-name() = 'booleanfield' or fi:styling/@list-type = >> 'radio' or fi:styling/@list-type = 'checkbox'"> >> <xsl:attribute name="onclick">forms_submitForm(this)</xsl:attribute> >> </xsl:when> >> <-- <xsl:otherwise> >> <xsl:attribute name="onchange">forms_submitForm(this)</xsl:attribute> >> </xsl:otherwise> -->remove this >> </xsl:choose> >> </xsl:if> >> >> additional info, this will work in firefox without remove this code. >> >> Any idea? >> >> Best Regards >> >> johnson >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
