Changes between Initial Version and Version 1 of Ticket #15760, comment 15


Ignore:
Timestamp:
06/17/2015 09:45:41 PM (4 years ago)
Author:
Ramez Issac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15760, comment 15

    initial v1  
    1 How About to extend the current plugin default to accept say 'addedCallback' and 'deletedCalback' which can be assigned in to the django.jQuery.fn.formset.default . Those are left for the user to fill
    2 The Tabluar & Stacked inline js can callback those function along with their 'added' function
     1How About to extend the current plugin defaults to accept say 'addedCallback' and 'deletedCalback' which can be assigned in to the django.jQuery.fn.formset.defaults . Those options are left for the user to fill.
     2The Tabular & Stacked inline js can callback those function along with their 'added' and 'deleted' function
    33
    4 And as answer to  julien question about what if many inline existed on a page , we can send both the created form and the formset name.
     4And as answer to julien question about what if many inline existed on a page , we can send both the created form and the formset name.
    55
    66For using this new feature, a change_form template is extended for the model you want to work with, and we add the javascript function of desire inside the HTML template. Mainly in the change_form_document_ready block or maybe a new block (where missing block.super is not gonna mess things up)
    77
    8 I can do that if idea is accepted
     8I can do this if idea is accepted.
Back to Top