ICEfaces
  1. ICEfaces
  2. ICE-9173

showcase - ace:gMap Info Windows demo JS error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces 3.3.0 Build8
      Server: Tomcat7
      Browsers: FF20, Chrome26
    • Assignee Priority:
      P3

      Description

      GMap > Info Windows:
      Pressing the 'Enter' key in the infoWindow text entry while editing the text, followed by pressing the 'Submit' button triggers a JS error; this issue is not present if user does not press the 'Enter' key.

      Firefox20:
      SyntaxError: unterminated string literal
      http://maps.gstatic.com/cat_js/intl/en_gb/mapfiles/api-3/12/7/%7Bmain,places%7D.js
      Line 11

      Chrome26: Uncaught SyntaxError: Unexpected token ILLEGAL

        Activity

        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 34714. Escaped window content so that string literals aren't considered unterminated because of the new line character.

        Show
        Arturo Zambrano added a comment - Committed fix at revision 34714. Escaped window content so that string literals aren't considered unterminated because of the new line character.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: