[Django] #16260: Ability to change dismissRelatedLookupPopup on custom callback function

7 views
Skip to first unread message

Django

unread,
Jun 14, 2011, 9:40:13 PM6/14/11
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
----------------------------------+-------------------------------
Reporter: alekam | Owner: nobody
Type: Cleanup/optimization | Status: new
Milestone: | Component: contrib.admin
Version: 1.3 | Severity: Normal
Keywords: admin | Triage Stage: Unreviewed
Has patch: 1 | Easy pickings: 1
UI/UX: 1 |
----------------------------------+-------------------------------
The best solution for some cases for customizing admin is put some links
with showRelatedObjectLookupPopup javascript function on admin changelist,
but after user choose the object, custom javascript function must be
called instead of dismissRelatedLookupPopup javascript function.

Execution of dismissRelatedLookupPopup is hard coded in python code now.
The easiest way to implement use case described higher is adding new GET
argument "_callback" to changelist view.

--
Ticket URL: <https://code.djangoproject.com/ticket/16260>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 14, 2011, 9:42:18 PM6/14/11
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
-------------------------------------+-------------------------------------
Reporter: alekam | Owner: nobody
Type: | Status: new
Cleanup/optimization | Component: contrib.admin
Milestone: | Severity: Normal
Version: 1.3 | Keywords: admin
Resolution: | Has patch: 1
Triage Stage: | Needs tests: 0
Unreviewed | Easy pickings: 1
Needs documentation: 0 |
Patch needs improvement: 0 |
UI/UX: 1 |
-------------------------------------+-------------------------------------
Changes (by alekam):

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


Comment:

See disscussion in Google Group http://groups.google.com/group/django-
developers/browse_thread/thread/e9275e47693edc3f?hl=en#

--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:1>

Django

unread,
Jun 14, 2011, 11:32:39 PM6/14/11
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
---------------------------------------+----------------------------------
Reporter: alekam | Owner: nobody
Type: New feature | Status: new
Milestone: | Component: contrib.admin
Version: 1.3 | Severity: Normal
Resolution: | Keywords: admin javascript
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
---------------------------------------+----------------------------------
Changes (by melinath):

* keywords: admin => admin javascript
* cc: melinath (added)
* type: Cleanup/optimization => New feature
* stage: Unreviewed => Accepted


Comment:

I would love to see this implemented! I'm not sure if _callback is the
best name for the GET parameter, though.

--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:2>

Django

unread,
Jun 15, 2011, 12:28:07 PM6/15/11
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
---------------------------------------+----------------------------------
Reporter: alekam | Owner: nobody
Type: New feature | Status: new
Milestone: | Component: contrib.admin
Version: SVN | Severity: Normal
Resolution: | Keywords: admin javascript
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
---------------------------------------+----------------------------------
Changes (by alekam):

* version: 1.3 => SVN


--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:3>

Django

unread,
Jun 15, 2011, 12:31:44 PM6/15/11
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
---------------------------------------+----------------------------------
Reporter: alekam | Owner: alekam
Type: New feature | Status: assigned
Milestone: | Component: contrib.admin
Version: SVN | Severity: Normal
Resolution: | Keywords: admin javascript
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
---------------------------------------+----------------------------------
Changes (by alekam):

* owner: nobody => alekam
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:4>

Django

unread,
Jul 8, 2012, 1:25:53 AM7/8/12
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
----------------------------------+------------------------------------
Reporter: alekam | Owner: alekam
Type: New feature | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: admin javascript | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
----------------------------------+------------------------------------

Comment (by julien):

I'm not entirely sold on the implementation but I do want to include this
new feature. So I'll chew on it a bit more. In the meantime I've the patch
to apply to current code.

--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:5>

Django

unread,
Oct 3, 2013, 10:28:23 AM10/3/13
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
----------------------------------+------------------------------------
Reporter: alekam | Owner: alekam
Type: New feature | Status: assigned
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: admin javascript | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------
Changes (by timo):

* needs_better_patch: 0 => 1
* easy: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:6>

Django

unread,
Jun 3, 2022, 6:23:40 AM6/3/22
to django-...@googlegroups.com
#16260: Ability to change dismissRelatedLookupPopup on custom callback function
----------------------------------+------------------------------------
Reporter: Alex Kamedov | Owner: (none)

Type: New feature | Status: new
Component: contrib.admin | Version: dev

Severity: Normal | Resolution:
Keywords: admin javascript | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
----------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* owner: Alex Kamedov => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/16260#comment:7>

Reply all
Reply to author
Forward
0 new messages