Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3736

Client Validation is broken for Struts2 themes

    Details

      Description

      Since Version 2.3.1 the Client Validation for Struts2 Themes is broken.
      Because the StrutsUtils.getValidationErrors Methos in utils.js expected an commented JSON String.

      StrutsUtils.getValidationErrors = function(data) {
      if(data.indexOf("/* {") === 0)

      { return eval("( " + data.substring(2, data.length - 2) + " )"); }

      else

      { return null; }


      };

        Attachments

          Activity

            People

            • Assignee:
              jogep Johannes Geppert
              Reporter:
              jogep Johannes Geppert
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: