mithesh j.c
unread,May 17, 2012, 9:35:05 AM5/17/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.