Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When the user clicks on the icon for his/her current field level privacy setting on node edit form, the privacy options dialog pops up with the first option selected as the default, always, even if user has selected another option. It would be more intuitive if it defaulted to the option that was currently selected by user, so user could feel as though he or she was changing it. It looks kind of like a bug right now, but I'll mark this as a feature request, since it still works without this ui fix even though it throws off the user's expectations a bit.
Comment | File | Size | Author |
---|---|---|---|
#3 | cck_privated_fields_load_privacy.patch | 634 bytes | tugis |
Comments
Comment #1
j0e CreditAttribution: j0e commentedps. thanks Marc for the module, of course :)
Joseph
Comment #2
tugis CreditAttribution: tugis commentedFirst of all, congrats for this great module!
I found the same issue. I took a look at the code of the module and I suppose that the behaviour explained above is the expected one, althought is not working and the value in the dialog is always the 1st one:
I found this in "privacy_status_dialog.js".
Subscribing
Comment #3
tugis CreditAttribution: tugis commentedHere is a patch that solves the problem. What I do is "uncheck" all radio buttons before checking the correct one. The existing code checks the stored privacy but, because the first one is always checked, it won't work.
Comment #4
tugis CreditAttribution: tugis commentedComment #5
j0e CreditAttribution: j0e commentedHi Luís,
thanks, great patch...works well!