diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-25 02:16:00 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-25 02:16:00 +0000 |
commit | 85bdb606bf56a71b4b02fa353129b6c2cfe2b527 (patch) | |
tree | 13915df828b6c9b27bb116aed32c2bca96030cac /core | |
parent | 26f5baba94479c749ca3db2ad983e2b37fcf4fc9 (diff) |
Escape CDATA blocks to avoid JS errors
Diffstat (limited to 'core')
-rw-r--r-- | core/views/in_place_edit.html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/in_place_edit.html.php b/core/views/in_place_edit.html.php index 889971a4..02f41e19 100644 --- a/core/views/in_place_edit.html.php +++ b/core/views/in_place_edit.html.php @@ -1,6 +1,6 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <script type="text/javascript"> -<![CDATA[ +// <![CDATA[ $(document).ready(function() { ajax_update = function(className, id) { return function(value, settings) { @@ -38,5 +38,5 @@ $(document).ready(function() { } } }); -]]> +// ]]> </script> |