[Jifty-commit] r1397 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jun 28 19:22:08 EDT 2006
Author: trs
Date: Wed Jun 28 19:22:07 2006
New Revision: 1397
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Action.pm
Log:
r13551 at zot: tom | 2006-06-28 19:20:47 -0400
Revert some added divs from r1350 that cause problems with layout. You can't just make them inline because most browsers don't display hidden form inputs at all -- wrapping them in a div changes the expected scenerio.
Modified: jifty/trunk/lib/Jifty/Action.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action.pm (original)
+++ jifty/trunk/lib/Jifty/Action.pm Wed Jun 28 19:22:07 2006
@@ -433,11 +433,11 @@
sub register {
my $self = shift;
- Jifty->web->out( qq!<div><input type="hidden"! .
+ Jifty->web->out( qq!<input type="hidden"! .
qq! name="@{[$self->register_name]}"! .
qq! id="@{[$self->register_name]}"! .
qq! value="@{[ref($self)]}"! .
- qq! /></div>\n! );
+ qq! />\n! );
@@ -445,7 +445,6 @@
while ( my ( $name, $info ) = each %args ) {
next unless $info->{'constructor'};
- Jifty->web->out( qq!<div>! );
Jifty::Web::Form::Field->new(
%$info,
action => $self,
@@ -454,7 +453,6 @@
default_value => ($self->argument_value($name) || $info->{'default_value'}),
render_as => 'Hidden'
)->render();
- Jifty->web->out( qq!</div>! );
}
return '';
}
More information about the Jifty-commit
mailing list