#6248 (Window actions should call param_defaults())
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Concepts sous-jacents
Commentaires
- 1 année, 2 mois ago by Luc Saffre about #6248 (Window actions should call param_defaults()) : Side effect: remove keep_user_values, which is no longer used
- 1 année, 2 mois ago by Luc Saffre about #6248 (Window actions should call param_defaults()) (1 reply) : This is fixing an old bug: action parameters have never been initialized using action_param_defaults(). So will need to look at the other window actions as well.
- 1 année, 2 mois ago by Luc Saffre about #6248 (Window actions should call param_defaults()) : It's not param_defaults() but action_param_defaults(). There is an AJAX call to fill the choices, but this URL is wrong /choices/system/SiteConfigs/current_group/set_current_group (current_group and set_current_group should be exchanged). And when the /choices call comes in, Lino calls action_param_...
- 1 année, 2 mois ago by Luc Saffre about #6248 (Window actions should call param_defaults()) : How to reproduce (after my next commit): In noi1r, select Site --> Set my current group. The field in the popup dialog is always empty, even when User.current_group is not. Lino should do an AJAX request to call param_defaults().
- 1 année, 2 mois ago by Luc Saffre about #6248 (Window actions should call param_defaults()) : Let's talk about this. My current idea is to use the Action.preprocessor or something similar.
- 1 année, 2 mois ago by Luc Saffre about #6248 (Window actions should call param_defaults()) : Created new Ticket #6248 (Window actions should call param_defaults()).