Feature Request - Toolbar - Ajax response #2564

Open
leesolway opened this Issue Feb 3, 2014 · 2 comments

Comments

Projects
None yet
6 participants

It would be nice if the toolbar method 'add_ajax_item' had a way to pass feedback to the user.. This has already been implemented in case of an error (as shown below), however i can not see a way to achieve this for other use cases (such as user feedback confirmation):

There is a callback method however i do not see how this could be passed from add_ajax_item.

'error': function (jqXHR) {
that.showError(jqXHR.response + ' | ' + jqXHR.status + ' ' + jqXHR.statusText);
}

FinalAngel was assigned by digi604 Feb 3, 2014

digi604 added the frontend label Feb 10, 2014

digi604 added this to the 3.0 milestone Feb 10, 2014

@FinalAngel FinalAngel modified the milestone: 3.X, 3.0 Feb 25, 2014

Owner

FinalAngel commented Mar 11, 2014

Feedback is not yet implemented, it is currently only a simple yes/no interaction message.
If confirming, the browser will redirect. You could Implement a feedback using djangos message framework. The toolbar will recognise a message and display it after a reload.

Otherwise we will reconsider on 3.1

@mkoistinen mkoistinen modified the milestone: 3.3.1, 3.3.0.RC1 May 16, 2016

Owner

czpython commented Jun 9, 2016

@vxsx anything to add?

@czpython czpython assigned vxsx and unassigned FinalAngel Jun 9, 2016

@vxsx vxsx modified the milestone: 3.4, 3.3.1 Jul 8, 2016

@czpython czpython modified the milestone: 3.4.x, 3.4 Sep 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment