google-code-export / django-page-cms

Automatically exported from code.google.com/p/django-page-cms
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Error in change_form.js if settings.PAGE_TEMPLATES is not defined #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See subject. If settings.PAGE_TEMPLATES is not defined, the template select
box is not rendered, which causes the javascript code on the change page to
bomb out when it tries to access it. Checking if the element exists before
accessing it solves the problem. Patch attached.

Original issue reported on code.google.com by piquad...@gmail.com on 9 Dec 2008 at 9:46

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed, thanks for your patch

Original comment by batiste....@gmail.com on 9 Jan 2009 at 7:28