django admin panel list display

13 views
Skip to first unread message

mithesh j.c

unread,
May 17, 2012, 9:35:05 AM5/17/12
to django...@googlegroups.com
Hi Friends,
                 I have added a custom form field in admin panel list display for one of my model and i have been able to save and retrieve the data properly however when i try to save the data for this custom field via actions it throws up an javascript alert

  "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost."  and upon further inspection found this code piece to be doing this

<script type="text/javascript">
(function($) {
$(document).ready(function($) {
$("tr input.action-select").actions();
});
})(django.jQuery);
</script>


Is there any way where i can override this behaviour just for this model so that the alert doesn't appears . any pointers or tutorial links would be really helpful . Many thnx for your kind help.

Thnx & Regards,
mithesh.
Reply all
Reply to author
Forward
0 new messages