Author: Jonathan.Wage
Date: 2010-02-10 17:50:55 +0100 (Wed, 10 Feb 2010)
New Revision: 27831

Modified:
   
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/modules/sympal_edit_slot/templates/save_slotsSuccess.php
Log:
[1.4][sfSympalPlugin][1.0] Reverting previous change


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-02-10 16:49:57 UTC (rev 27830)
+++ 
plugins/sfSympalPlugin/trunk/lib/plugins/sfSympalEditorPlugin/modules/sympal_edit_slot/templates/save_slotsSuccess.php
      2010-02-10 16:50:55 UTC (rev 27831)
@@ -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("'", "\\'", 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.

Reply via email to