Permalink
Browse files

set onkeyup default to false. Ready for 1.4 release

  • Loading branch information...
1 parent febbff6 commit 47c99dcd2e81e9a3ee62bbc99a5ec5b0d391cfa4 @limcheekin committed Aug 31, 2012
@@ -21,7 +21,7 @@
*/
class JqueryValidationUiGrailsPlugin {
// the plugin version
- def version = "1.3"
+ def version = "1.4"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "1.2.2 > *"
// the other plugins this plugin depends on
@@ -160,7 +160,7 @@ class JQueryValidationUiTagLib {
def onsubmit = attrs.onsubmit ? Boolean.valueOf(attrs.onsubmit) : config.get("onsubmit", true)
- def onkeyup = attrs.onkeyup ? Boolean.valueOf(attrs.onkeyup) : config.get("onkeyup", true)
+ def onkeyup = attrs.onkeyup ?: config.get("onkeyup", false)
def qtip = attrs.qtip ? Boolean.valueOf(attrs.qtip) : config.get("qtip", false)
def submitHandler = attrs.remove("submitHandler")?:config.submitHandler?:null

0 comments on commit 47c99dc

Please sign in to comment.