Changeset - d2e453164628
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2010-10-25 23:06:39
ohnobinki@ohnopublishing.net
Workaround some of IE's non-workingness.
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
scripts/scheduleInput.js
Show inline comments
 
@@ -10,12 +10,15 @@ var sectionsOfClass = new Array();
 
    // Validation Functions
 
    //--------------------------------------------------      
 

	
 
	//--------------------------------------------------
 
	// Default Error Message
 
	//--------------------------------------------------
 
/* on IE, jQuery.validator doesn't exist */
 
if (jQuery.validator)
 
    {
 
	jQuery.each(jQuery.validator.messages, function(i) {
 
		jQuery.validator.messages[i] = "<p class=\"error\">Please fill the field</p>";
 
	});
 

	
 
	//--------------------------------------------------
 
	// Time Selection Validation
 
@@ -55,13 +58,13 @@ var sectionsOfClass = new Array();
 
	jQuery.validator.addClassRules("selectRequired", {
 
		selectNone: true
 
	});
 
	jQuery.validator.addClassRules("daysRequired", {
 
		daysRequired: true
 
	});
 

	
 
    }
 

	
 

	
 
    //--------------------------------------------------
 
    // General Input Functions
 
    //--------------------------------------------------
 

	
0 comments (0 inline, 0 general)