You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Siarhei Dudzin (JIRA)" <de...@myfaces.apache.org> on 2006/07/15 04:50:14 UTC
[jira] Updated: (MYFACES-1366) Error in javascript function
[ http://issues.apache.org/jira/browse/MYFACES-1366?page=all ]
Siarhei Dudzin updated MYFACES-1366:
------------------------------------
Status: Patch Available (was: Open)
> Error in javascript function
> ----------------------------
>
> Key: MYFACES-1366
> URL: http://issues.apache.org/jira/browse/MYFACES-1366
> Project: MyFaces Core
> Issue Type: Improvement
> Components: General
> Affects Versions: 1.1.5-SNAPSHOT
> Reporter: Siarhei Dudzin
> Fix For: 1.1.5-SNAPSHOT
>
>
> There is a small error in javascript function org_apache_myfaces_getScrolling (forgotten brackets).
> The patch:
> Index: C:/Java/MyFaces-shared-HEAD/core/src/main/java/org/apache/myfaces/shared/renderkit/html/util/JavascriptUtils.java
> ===================================================================
> --- C:/Java/MyFaces-shared-HEAD/core/src/main/java/org/apache/myfaces/shared/renderkit/html/util/JavascriptUtils.java (revision 422108)
> +++ C:/Java/MyFaces-shared-HEAD/core/src/main/java/org/apache/myfaces/shared/renderkit/html/util/JavascriptUtils.java (working copy)
> @@ -307,7 +307,7 @@
> StringBuffer script = new StringBuffer();
>
> script.append("function ");
> - script.append(AUTO_SCROLL_FUNCTION);
> + script.append(AUTO_SCROLL_FUNCTION + "()");
> script.append(" {\n");
> script.append(" var x = 0; var y = 0;\n");
> script.append( " if (self.pageXOffset || self.pageYOffset) {\n"+
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira