Author: KRavEN
Date: 2010-05-13 22:30:25 +0200 (Thu, 13 May 2010)
New Revision: 29450
Modified:
plugins/ExtjsGeneratorPlugin/trunk/data/generator/ExtjsModule/admin/template/templates/_formpanel.js.php
Log:
Added temp fix for default csrf_token in formpanel.
Modified:
plugins/ExtjsGeneratorPlugin/trunk/data/generator/ExtjsModule/admin/template/templates/_formpanel.js.php
===================================================================
---
plugins/ExtjsGeneratorPlugin/trunk/data/generator/ExtjsModule/admin/template/templates/_formpanel.js.php
2010-05-13 20:09:55 UTC (rev 29449)
+++
plugins/ExtjsGeneratorPlugin/trunk/data/generator/ExtjsModule/admin/template/templates/_formpanel.js.php
2010-05-13 20:30:25 UTC (rev 29450)
@@ -74,6 +74,8 @@
foreach ($fields as $name => $field)
{
+ //dirty hack till I figure out the real reason this is added or make a
hidden field widget
+ if(strstr('_csrf_token', $name)) continue;
if($name == '<?php echo $key ?>') $needsId = false;
$attributes = array(
'help' => $field->getConfig('help'),
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" 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-svn?hl=en.