Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-09-21 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:  Tim
 |  Graham 
 Type:  New feature  |   Status:  closed
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by Tim Graham ):

 * status:  new => closed
 * owner:   => Tim Graham 
 * resolution:   => fixed


Comment:

 In [changeset:"1335aa2fb9f590d786a5baee1b781377dc3a2ec8" 1335aa2]:
 {{{
 #!CommitTicketReference repository=""
 revision="1335aa2fb9f590d786a5baee1b781377dc3a2ec8"
 Fixed #15760 -- Added JavaScript events for admin inline forms.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.a0f7d35f9c0d06ea79fd2d947299b7e1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-09-20 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by RamezIssac):

 * needs_better_patch:  1 => 0


Comment:

 Improvements made. Kindly review. Thanks.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.50b4929a82b26ea936aba567cad57d64%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-09-19 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 Reviewed the updated patch.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.815fa1d87722826a894ca431314ba0ec%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-09-12 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by RamezIssac):

 * needs_better_patch:  1 => 0


Comment:

 Added JavaScript tests along with documentation enhancement.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.394a23ddfda8e82663053a49873e5f61%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-09-01 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-
Changes (by timgraham):

 * needs_better_patch:  0 => 1


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.90cfe46c55b774964456f4a76a2a4354%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-08-05 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by RamezIssac):

 * needs_docs:  1 => 0


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.86bd42ed152738379052d420ca1cbdd3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-08-04 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-

Comment (by RamezIssac):

 Indeed , thank you Tim.
 I added an 'initial documentation' , there is a small problem in
 ''docs/ref/contrib/admin/javascript'' line 19 , I couldn't figure out how
 to make a proper link.
 Waiting for feedback regarding this and any other.

 Best Regards.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.3af796bae1261ad369a0edbc6489e37d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-08-03 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-

Comment (by timgraham):

 Maybe a new page at `docs/ref/contrib/admin/javascript.txt` would make
 sense. Anyway, the content is more important than the location at this
 point.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.8256c5c95306fb8499211a6b43a9d152%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-08-03 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  1
-+-
Changes (by RamezIssac):

 * needs_better_patch:  1 => 0


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.3c5f29d05dff191dc841ea0e37ed741b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-08-02 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  1
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-
Changes (by RamezIssac):

 * needs_docs:  0 => 1


Comment:

 PR is created already, with tests that pass! but missing documentation.

 Any Idea on where this feature documentation should go in the Django admin
 documentation.

 After the hint i'll write down the documentation in the hinted location
 and it is ready for review.

 Thanks.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.187f863cbea2429665b5cca6b354c775%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-06-18 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-
Changes (by RamezIssac):

 * cc: RamezIssac (added)


Comment:

 PR created [https://github.com/django/django/pull/4883 4883]

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.aec990d9d035387cd338104f484b2685%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-06-18 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-

Comment (by RamezIssac):

 Adding a formset defaults in the document_ready block is too late for the
 defaults to get picked up.
 The plugin is Initiated by the edit_inline/tabular.html (or stacked) , at
 the end of inline_field_sets block

 The other option i see is on the extrahead block

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.a8bf0c4b80083b4525f8cbe15bb3a194%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2015-06-17 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  1
-+-

Comment (by RamezIssac):

 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
 The Tabluar & Stacked inline js can callback those function along with
 their 'added' function

 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.

 For 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)

 I can do that if idea is accepted

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.290e71b52a5151357fa0e75ed7a9b9c4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2013-10-23 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-
Changes (by gstrat):

 * cc: gstrat (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.7de9df4d251b085e10178605719f434d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-11-28 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  1
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-
Changes (by julien):

 * needs_better_patch:  0 => 1


Comment:

 Thanks for your work on the patch.

 In the example usage above, you bind the event
 'formset_add.admin.my_widget'. Is that a typo (i.e. the 'my_widget' part)?

 Also, what would happen when the page would contain multiple types of
 inlines? How would you discriminate between the various inlines? If you
 could please elaborate on the approach a developer would have to follow,
 that would be helpful — and in fact, this could also be added to the
 documentation.

 Finally, to include this patch in Django core, some tests would have to be
 written. Would you like to have a go at writing some Selenium tests
 demonstrating the use of this new feature?

 Thanks!

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-11-19 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  0
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-
Changes (by per856):

 * needs_docs:  1 => 0


Comment:

 Updated this patch to current master, with some alterations. Added
 documentation.

 Patch: https://github.com/django/django/pull/542

 This fix also fixes accepted duplicate #19314

 Example usage:
 {{{
 django.jQuery(document).bind('formset_add.admin.my_widget',
 function(event, row_element) {
 my_widget_setup($('.my_widget', row_element));
 });
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-07-23 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-

Comment (by mpasternak):

 I like the inlines.diff patch, because it is more explicit this way. I
 don't think there's anything wrong with having clearly named events on the
 javascript side, is there?

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-05-17 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-

Comment (by CollinAnderson):

 Ahh, yes, #18241 would also solve this for me.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-05-17 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-

Comment (by mlavin):

 I ended up working around this issue in my own project by monkey patching
 {{{django.jQuery.fn.formset}}}. I still think that adding these events
 would be helpful but I think that https://github.com/django/django/pull/24
 largely reduces the need for them if it is accepted.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-05-17 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-
Changes (by CollinAnderson):

 * cc: cmawebsite@… (added)


Comment:

 I ran into this issue two years ago, and I am running into it again today.
 I ended up having to clone django's add link, hide the original, add my
 own click handler, then call django's click handler on the original
 element.

 It looks like a few others have ran into this issue too.
 - http://code.google.com/p/django-tinymce/issues/detail?id=89
 - http://stackoverflow.com/questions/7133189/django-stackedinline-tinymce-
 problem

 I believe the posted patch would solve the problem for me, maybe put a
 django namespace prefix on it just to be save.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-03-12 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  SVN
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-
Changes (by mlavin):

 * owner:  mlavin =>


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2012-02-14 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
-+-
 Reporter:  mlavin   |Owner:  mlavin
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  SVN
 Severity:  Normal   |   Resolution:
 Keywords:  inlines jquery   | Triage Stage:  Accepted
  callback   |  Needs documentation:  1
Has patch:  1|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  1
Easy pickings:  0|
-+-
Changes (by anonymous):

 * keywords:  inlines jquery => inlines jquery callback
 * owner:  nobody => mlavin


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2011-10-03 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
+
 Reporter:  mlavin  |Owner:  nobody
 Type:  New feature |   Status:  new
Component:  contrib.admin   |  Version:  SVN
 Severity:  Normal  |   Resolution:
 Keywords:  inlines jquery  | Triage Stage:  Accepted
Has patch:  1   |  Needs documentation:  1
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  1
+
Changes (by jaap3):

 * cc: jaap3 (added)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2011-04-30 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
---+
   Reporter:  mlavin   |  Owner:  nobody
   Type:  New feature  | Status:  new
  Milestone:   |  Component:  contrib.admin
Version:  SVN  |   Severity:  Normal
 Resolution:   |   Keywords:  inlines jquery
   Triage Stage:  Accepted |  Has patch:  1
Needs documentation:  1|Needs tests:  0
Patch needs improvement:  0|  Easy pickings:  0
---+
Changes (by brillgen):

 * cc: dev@… (added)
 * easy:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2011-04-04 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
---+--
   Reporter:  mlavin   |Owner:  nobody
   Type:  New feature  |   Status:  new
  Milestone:   |Component:  contrib.admin
Version:  SVN  | Severity:  Normal
 Resolution:   | Keywords:  inlines jquery
   Triage Stage:  Accepted |Has patch:  1
Needs documentation:  1|  Needs tests:  0
Patch needs improvement:  0|
---+--
Changes (by julien):

 * stage:  Unreviewed => Accepted


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15760: Feature: JS Hooks for Dynamic Inlines

2011-04-04 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
---+--
   Reporter:  mlavin   |Owner:  nobody
   Type:  New feature  |   Status:  new
  Milestone:   |Component:  contrib.admin
Version:  SVN  | Severity:  Normal
 Resolution:   | Keywords:  inlines jquery
   Triage Stage:  Unreviewed   |Has patch:  1
Needs documentation:  1|  Needs tests:  0
Patch needs improvement:  0|
---+--
Changes (by mlavin):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 1


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #15760: Feature: JS Hooks for Dynamic Inlines

2011-04-04 Thread Django
#15760: Feature: JS Hooks for Dynamic Inlines
+--
 Reporter:  mlavin  | Owner:  nobody
 Type:  New feature |Status:  new
Milestone:  | Component:  contrib.admin
  Version:  SVN |  Severity:  Normal
 Keywords:  inlines jquery  |  Triage Stage:  Unreviewed
Has patch:  1   |
+--
 It is difficult to access the newly added row when working with dynamic
 inlines. This makes it difficult to use widgets which require javascript
 bindings (such as auto-complete widgets) in the inlines. I believe this is
 the issue that someone was trying to raise in #15693. While the formset
 plugin does allow for passing method to be called when a new row is added,
 this is always already populated by admin/edit_inline/stacked.html and
 admin/edit_inline/tabular.html. If you want to include another method to
 be run you need to override these templates completely.

 I've attached a patch which adds two events to the formset plugin:
 `formsetadd` and `formsetdelete` which are fired by the add and delete
 rows respectively. The example usage would be
 {{{
 django.jQuery('.add-row a').live('formsetadd', function(e, row) {
 console.log('Formset add!');
 console.log($(row));
 });
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.