1
Vote

this.Plugins[pluginName] is undefined

description

In firefox 3.5.7 the following line doesn't work in xVal.jquery.validate.js
 
  1. if (pluginName != null)
     
    I actually don't know why pluginName is set to an JSON Object, from what I can see the only valid type should be an string. Therefor I made this fix to solve the problem:
     
  2. if ((typeof (pluginName) == 'string') && this.Plugins[pluginName]) {
     
    Can someone explain why pluginName is sent in as an object?

comments