Skip to content
This repository

'jQueryValidatorUI is not defined' error. #12

Merged
merged 1 commit into from over 1 year ago

2 participants

Kevin Stricker limcheekin
Kevin Stricker

This StackOverflow question refers to the problem this patch addresses. It is caused by the resources plugin bundling the qTip javascript with this plugin's javascript (causing the "use strict" in qTip to be applied to both).

limcheekin
Owner

Thanks for the fix. I will look into it on this weekend and probably publish a bugfix release.

limcheekin limcheekin merged commit 4e6c455 into from July 28, 2012
limcheekin limcheekin closed this July 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 26, 2012
Kevin Stricker Fix javascript error caused by resources plugin bundling/use strict i…
…n qtip.
2b21718
This page is out of date. Refresh to see the latest.
2  web-app/js/jquery-validation-ui/grails-validation-methods.js
@@ -67,7 +67,7 @@ jQuery.validator.addMethod("phone", function(value, element, params) {
67 67
 }, 'Invalid international phone number.');
68 68
 
69 69
 // amended from existing remote method
70  
-JQueryValidatorUI = {
  70
+var JQueryValidatorUI = {
71 71
   remote: function(validator, constraint, value, element, params) { 
72 72
 			if ( validator.optional(element) )
73 73
 				return "dependency-mismatch";
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.