Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1688

the tapestry form.js script has an unnecessary call to eval

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1.2, 4.1.3
    • 4.1.3
    • None
    • None

    Description

      the function
      registerProfile:function(id, profile){
      if (!this.forms[id])

      { dojo.raise("registerProfile(" + id + ") No form previously registered with that id."); return; }

      this.forms[id].profiles.push(eval(profile));
      }

      has an unnecessary call to eval since profile is already a js object

      Attachments

        1. form.js.diff
          0.8 kB
          Andrea Chiumenti

        Activity

          People

            Unassigned Unassigned
            kiuma72 Andrea Chiumenti
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: