Closed (works as designed)
Project:
CCK Private Fields
Version:
6.x-1.0-beta4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2009 at 16:49 UTC
Updated:
7 May 2010 at 17:20 UTC
Comments
Comment #1
markus_petrux commentedThe privacy status icons are implemented client-side. It is the whole code in
js/privacy_status_dialog.js. If you want a select element, you need to replace the whole thing.The icon is added dynamically with this code:
You have to replace this (and all the code that is related to this icon) with a select element, and bind an onchange event that updates the privacy status for each field like this:
These are hidden form elements that hold the privacy status of all fields, and they are sent and updated when the form is submitted.
Comment #2
markus_petrux commentedComment #3
erik.ahlswede commentedIs there a way to redefine this without hacking into the existing JS?