Author: Jonathan.Wage
Date: 2010-01-30 20:05:06 +0100 (Sat, 30 Jan 2010)
New Revision: 27336
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/modules/sympal_edit_slot/templates/save_slotsSuccess.php
Log:
[1.4][sfSympalPlugin][1.0] Fixing new line replacement for js eval
Modified:
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/modules/sympal_edit_slot/templates/save_slotsSuccess.php
===================================================================
---
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/modules/sympal_edit_slot/templates/save_slotsSuccess.php
2010-01-30 19:02:06 UTC (rev 27335)
+++
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/modules/sympal_edit_slot/templates/save_slotsSuccess.php
2010-01-30 19:05:06 UTC (rev 27336)
@@ -6,7 +6,7 @@
<?php /* Updated rendered value of successfully content slots and removed red
border */ ?>
<?php foreach ($contentSlots as $contentSlot): ?>
- $('#sympal_content_slot_<?php echo $contentSlot->getId() ?>
.value').html('<?php echo str_replace("\n", ' ',
addslashes($contentSlot->render())) ?>');
+ $('#sympal_content_slot_<?php echo $contentSlot->getId() ?>
.value').html('<?php echo str_replace("\n", '\n',
addslashes($contentSlot->render())) ?>');
$('#sympal_content_slot_<?php echo $contentSlot->getId() ?> .editor input,
#sympal_content_slot_<?php echo $contentSlot->getId() ?> .editor
textarea').css('border', '1px solid #ccc');
<?php endforeach; ?>
--
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.