| author | ymh <ymh.work@gmail.com> |
| Thu, 28 Oct 2010 00:36:33 +0200 | |
| changeset 17 | 675d85bf5089 |
| parent 16 | 438b8a86ee72 |
| child 18 | b9c2a90029e7 |
--- a/web/ldt/ldt_utils/views.py Wed Oct 27 23:43:29 2010 +0200 +++ b/web/ldt/ldt_utils/views.py Thu Oct 28 00:36:33 2010 +0200 @@ -748,7 +748,7 @@ else: form_status = 'empty' initial = {} - if instance_content is not None: + if instance_media is not None: initial['media_input_type'] = "link" else: initial['media_input_type'] = "none"