summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-23 20:15:47 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-23 20:15:47 +0000
commit3728136fced923b96dbf733e6098b6d6961f06fb (patch)
tree2209d4b1c3b8e5eda8bb9ac18bb865bde1ffd730
parent156c4f35483aa075e207dd4c64d03e4cbe28e9d7 (diff)
Escape Javascript to avoid validation errors.
-rw-r--r--core/views/in_place_edit.html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/views/in_place_edit.html.php b/core/views/in_place_edit.html.php
index f02b77ba..889971a4 100644
--- a/core/views/in_place_edit.html.php
+++ b/core/views/in_place_edit.html.php
@@ -1,5 +1,6 @@
<? defined("SYSPATH") or die("No direct script access."); ?>
<script type="text/javascript">
+<![CDATA[
$(document).ready(function() {
ajax_update = function(className, id) {
return function(value, settings) {
@@ -37,4 +38,5 @@ $(document).ready(function() {
}
}
});
+]]>
</script>