You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2012/08/20 20:22:26 UTC

[4/6] git commit: Fix invalid CSS selector caused by unquoted punctuation

Fix invalid CSS selector caused by unquoted punctuation


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/821a5d99
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/821a5d99
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/821a5d99

Branch: refs/heads/5.4-js-rewrite
Commit: 821a5d99db3ac00802a996f59a70009b4abb6fd5
Parents: c58a5e8
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Aug 20 10:38:48 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Aug 20 10:38:48 2012 -0700

----------------------------------------------------------------------
 .../META-INF/modules/core/forms.coffee             |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/821a5d99/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
index 86d4d04..d4ea5ae 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/core/forms.coffee
@@ -26,14 +26,14 @@ define ["core/events", "core/spi", "core/builder", "core/compat/tapestry"],
       (element.getAttribute "data-prevent-submission")
 
     clearSubmittingHidden = (form) ->
-      hidden = form.find "[name=t:submit]"
+      hidden = form.find "[name='t:submit']"
 
       hidden.setValue null if hidden
 
       return
 
     setSubmittingHidden = (form, wrapper) ->
-      hidden = form.find "[name=t:submit]"
+      hidden = form.find "[name='t:submit']"
 
       unless hidden
         firstHidden = form.find "input[type=hidden]"