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.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/2-mz4VgpeWsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.