Permalink
Browse files

Update cms/templates/admin/cms/page/change_form.html

Url auto generation is broken as ```$``` is undefined when DEBUG=False.
  • Loading branch information...
1 parent 3bef8a7 commit 4d990d30d6d2447c639ac1e8921739cc0a021c23 @chuwy-bot chuwy-bot committed Sep 25, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 cms/templates/admin/cms/page/change_form.html
View
6 cms/templates/admin/cms/page/change_form.html
@@ -17,9 +17,9 @@
<script type="text/javascript">
//<![CDATA[
- $(document).ready(function (){
- $("#id_title").keyup(function () {
- var e = $("#id_slug")[0];
+ jQuery(document).ready(function (){
+ jQuery("#id_title").keyup(function () {
+ var e = jQuery("#id_slug")[0];
if(!e._changed) {
e.value = URLify(this.value, 64);
}

0 comments on commit 4d990d3

Please sign in to comment.