Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1366

Error in javascript function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.5-SNAPSHOT
    • 1.1.5
    • General
    • None

    Description

      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"+

      Attachments

        Activity

          People

            mmarinschek Martin Marinschek
            svadu Siarhei Dudzin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: