Greetings from across the street in Paris ;-)
The subject says it all, the patch is attached. Prototype was included only
if the view defined a collapsible category and double_list wasn't included
at all.
Hope it helps.
@+
Daniel BODEA
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---
--- data/generator/sfPropelAdmin/default/template/templates/_edit_form.php.orig
Thu Feb 1 15:53:47 2007
+++ data/generator/sfPropelAdmin/default/template/templates/_edit_form.php
Sat Feb 10 15:24:41 2007
@@ -4,6 +4,9 @@
[?php echo object_input_hidden_tag($<?php echo $this->getSingularName() ?>,
'get<?php echo $pk->getPhpName() ?>') ?]
<?php endforeach; ?>
+[?php use_javascript(sfConfig::get('sf_prototype_web_dir').'/js/prototype') ?]
+[?php use_javascript(sfConfig::get('sf_admin_web_dir').'/js/double_list') ?]
+
<?php $first = true ?>
<?php foreach ($this->getColumnCategories('edit.display') as $category): ?>
<?php
@@ -15,7 +18,6 @@
if ($first)
{
$first = false;
- echo "[?php
use_javascript(sfConfig::get('sf_prototype_web_dir').'/js/prototype') ?]\n";
echo "[?php
use_javascript(sfConfig::get('sf_admin_web_dir').'/js/collapse') ?]\n";
}
}