Permalink
Browse files

JS error fix in add page template

  • Loading branch information...
1 parent 8aca4c8 commit 8c4f789d7ef8aa3c9f40edbe4016821806714b5a @digi604 digi604 committed Aug 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 cms/templates/admin/cms/page/change_form.html
@@ -16,7 +16,7 @@
{% if add %}
<script type="text/javascript">
//<![CDATA[
-(function($) {
+
$(document).ready(function (){
$("#id_title").keyup(function () {
var e = $("#id_slug")[0];
@@ -25,7 +25,7 @@
}
});
});
-})(window.CMS.$);
+
//]]>
</script>
{% endif %}

0 comments on commit 8c4f789

Please sign in to comment.