Author: sevein
Date: Wed Aug 17 16:53:28 2011
New Revision: 9532
Log:
Add empty choice to jurisdiction country field
Modified:
trunk/apps/qubit/modules/right/actions/editComponent.class.php
Modified: trunk/apps/qubit/modules/right/actions/editComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/right/actions/editComponent.class.php Wed Aug
17 16:40:11 2011 (r9531)
+++ trunk/apps/qubit/modules/right/actions/editComponent.class.php Wed Aug
17 16:53:28 2011 (r9532)
@@ -110,7 +110,7 @@
case 'copyrightJurisdiction':
$this->form->setValidator('copyrightJurisdiction', new
sfValidatorI18nChoiceCountry);
- $this->form->setWidget('copyrightJurisdiction', new
sfWidgetFormI18nChoiceCountry(array('culture' =>
$this->context->user->getCulture())));
+ $this->form->setWidget('copyrightJurisdiction', new
sfWidgetFormI18nChoiceCountry(array('add_empty' => true, 'culture' =>
$this->context->user->getCulture())));
break;
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.