Skip to content

Commit

Permalink
Update cms/templates/admin/cms/page/change_form.html
Browse files Browse the repository at this point in the history
Url auto generation is broken as ```$``` is undefined when DEBUG=False.
  • Loading branch information
chuwy-bot committed Sep 25, 2012
1 parent 3bef8a7 commit 4d990d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cms/templates/admin/cms/page/change_form.html
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4d990d3

Please sign in to comment.