Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JS error fix in add page template

  • Loading branch information...
commit 8c4f789d7ef8aa3c9f40edbe4016821806714b5a 1 parent 8aca4c8
@digi604 digi604 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cms/templates/admin/cms/page/change_form.html
View
4 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 %}
Please sign in to comment.
Something went wrong with that request. Please try again.