validate plugin doesn't remove multiple error messages in firefox

validate plugin doesn't remove multiple error messages in firefox

The validate plugin was setting opacity to 0 but not display:none if I had multiple validation errors ( one was being removed correctly the others were just transparent)

I used the following fix in 1.6

  1. if(typeof(ajaxValidate)=='undefined'){ajaxValidate = false}
            if(!ajaxValidate){
                linkTofield = $.validationEngine.linkTofield(caller);
                var closingPrompt = "."+linkTofield; //fix by BW 2010-08-11
                $(closingPrompt).fadeTo("fast",0,function(){
                    $(closingPrompt).remove();
                });





adding var to closingPrompt gave a separate variable for each closure.  Before it was overwriting the last value everytime it fired so only one error label was being removed.