Author: johnnyoffline
Date: 2010-01-29 03:22:13 +0100 (Fri, 29 Jan 2010)
New Revision: 27296
Modified:
plugins/pkContextCMSPlugin/trunk/modules/pkContextCMS/templates/_renamePage.php
Log:
ported back a fix Tom and I made today on the breadcrumb rename javascript
Modified:
plugins/pkContextCMSPlugin/trunk/modules/pkContextCMS/templates/_renamePage.php
===================================================================
---
plugins/pkContextCMSPlugin/trunk/modules/pkContextCMS/templates/_renamePage.php
2010-01-28 23:38:37 UTC (rev 27295)
+++
plugins/pkContextCMSPlugin/trunk/modules/pkContextCMS/templates/_renamePage.php
2010-01-29 02:22:13 UTC (rev 27296)
@@ -25,7 +25,7 @@
$(document).ready(function() {
var renameForm = $('#pk-breadcrumb-rename-form');
- renameForm.prepend('<b
id="pk-breadcrumb-rename-title-spacer"
style="display:none;float:left;white-space:nowrap;"><?php echo str_replace('
','-',$page->getTitle()) ?></b>');
+ renameForm.prepend('<b
id="pk-breadcrumb-rename-title-spacer"
style="display:none;float:left;white-space:nowrap;">' + <?php echo
json_encode(str_replace(' ','-',$page->getTitle())) ?> + '</b>');
var renameControls =
$('#pk-breadcrumb-rename-controls');
var renameSpacer =
$('#pk-breadcrumb-rename-title-spacer');
--
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.