[Jifty-commit] r2532 - in jifty/trunk: lib/Jifty/Web/Form

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Jan 19 20:31:23 EST 2007


Author: jesse
Date: Fri Jan 19 20:31:22 2007
New Revision: 2532

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Element.pm

Log:
 r21137 at hualien:  jesse | 2007-01-19 20:31:12 -0500
 * Gotta double-quote keybinding labels if they have embedded newlines.
 


Modified: jifty/trunk/lib/Jifty/Web/Form/Element.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Element.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Element.pm	Fri Jan 19 20:31:22 2007
@@ -370,7 +370,7 @@
                 . Jifty::JSON::objToJson( uc($key), { singlequote => 1 } ).","
                 . "'click', "
                 . Jifty::JSON::objToJson( $self->id, { singlequote => 1 } ).","
-                . Jifty::JSON::objToJson( $label, { singlequote => 1 } )
+                . Jifty::JSON::objToJson( $label, { singlequote => 0 } )
                 . ");";
     }
 }


More information about the Jifty-commit mailing list