Opened 17 years ago

Last modified 17 years ago

#4174 closed

prepopulated_fields results in javascript error (newforms-admin) — at Initial Version

Reported by: forest@… Owned by: Adrian Holovaty
Component: contrib.admin Version: newforms-admin
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I get this in Firefox 2:

Error: None is not defined
Source File: http://localhost:8080/admin/page/section/add/
Line: 142

The javascript source is as follows:

{{{<script type="text/javascript">

document.getElementById("id_slug").onchange = function() { this._changed = true; };


document.getElementById("id_title").onkeyup = function() {

var e = document.getElementById("id_slug");
if (!e._changed) { e.value = URLify(document.getElementById("id_title").value, None); }

}


</script>
}}}

-Forest

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top