[Freeipa-devel] [PATCH] 0015 Only split CSV strings once

Petr Vobornik pvoborni at redhat.com
Fri Feb 24 11:30:51 UTC 2012


On 02/24/2012 11:09 AM, Petr Viktorin wrote:
>
> As far as I can see the Web UI is tied to the server version, so
> changing the JSON communication shouldn't be a problem?
> Anyway, since the JSON code for this is scattered across the codebase,
> we need to introduce a common JS function first, and only then switch
> both that and the server to use plain arrays.
>

Right, changes shouldn't be a big problem for UI.

Web UI isn't doing any splitting. It gets its values as arrays.

For mod commands UI by default sends an array but for some cases (ACI, 
DNS, associations) it uses .join(',').

-- 
Petr Vobornik




More information about the Freeipa-devel mailing list