Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-754

Velocity error with jQuery command $.post("something", "")

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.7
    • Component/s: Engine
    • Labels:
      None

      Description

      I'm using jQuery in an Velocity file and have discovered the common jQuery command

      $.post("someUrl", "")

      generates a Velocity parsing error.

      Encountered "," at /myfile.htm [line 1, column 19] Was expecting one of: "(" ... ... ... ... "##" ... "\\\\" ... "
      " ... ... "#" ... "#" ... ... ... ... ... ... ... ... ... ... "

      {" ... "}

      " ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wglass Will Glass-Husain
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: