[Jifty-commit] r2230 - in jifty/trunk: share/web/templates/__jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Nov 30 13:09:05 EST 2006
Author: falcone
Date: Thu Nov 30 13:09:04 2006
New Revision: 2230
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/web/templates/__jifty/validator.xml
Log:
r14845 at ketch: falcone | 2006-11-30 13:08:42 -0500
* Allow a canonicalization note to be set, even if you don't change the
value of the action parameter
Modified: jifty/trunk/share/web/templates/__jifty/validator.xml
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/validator.xml (original)
+++ jifty/trunk/share/web/templates/__jifty/validator.xml Thu Nov 30 13:09:04 2006
@@ -48,19 +48,19 @@
or length $action->argument_value($arg) == 0 ) {
$writer->emptyTag( "blank", name => $action->form_field_name($arg) );
} else {
- if ( $action->result->field_canonicalization_note($arg) ) {
- $writer->dataElement(
- "canonicalization_note",
- $action->result->field_canonicalization_note($arg),
- id => $action->canonicalization_note_div_id($arg)
- );
- }
$writer->dataElement(
"update",
$action->argument_value($arg),
name => $action->form_field_name($arg)
);
}
+ if ( $action->result->field_canonicalization_note($arg) ) {
+ $writer->dataElement(
+ "canonicalization_note",
+ $action->result->field_canonicalization_note($arg),
+ id => $action->canonicalization_note_div_id($arg)
+ );
+ }
}
$writer->endTag();
}
More information about the Jifty-commit
mailing list