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

                 Key: TAPESTRY-1688
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1688
             Project: Tapestry
          Issue Type: Improvement
    Affects Versions: 4.1.2, 4.1.3
            Reporter: Andrea Chiumenti
            Priority: Minor
             Fix For: 4.1.3
         Attachments: form.js.diff

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to