diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-05-28 14:45:57 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-16 15:41:38 +0200 |
commit | 5a428608beb3752b111b558ba2355ef112a057f1 (patch) | |
tree | 61b4bd573e4888cbd7f18a87ac867dfa9be599e7 /install/ui/src/freeipa/util.js | |
parent | 521df77744233f424ec68caa68548bede6e575fb (diff) | |
download | freeipa-5a428608beb3752b111b558ba2355ef112a057f1.tar.gz freeipa-5a428608beb3752b111b558ba2355ef112a057f1.tar.xz freeipa-5a428608beb3752b111b558ba2355ef112a057f1.zip |
webui: move RPC result extraction logic to Adapter
It enables declarative extraction of values from partial
results of a batch commands and also further extensibility
in custom adapters.
The default adapter has detection logic for this extraction so
it can use bare record or extract data from normal or batch RPC
command.
Minor change of user plugin fixed:
https://fedorahosted.org/freeipa/ticket/4355
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/util.js')
-rw-r--r-- | install/ui/src/freeipa/util.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/util.js b/install/ui/src/freeipa/util.js index d6fbbf4f1..4b05b18a8 100644 --- a/install/ui/src/freeipa/util.js +++ b/install/ui/src/freeipa/util.js @@ -209,9 +209,6 @@ define([ if (!(value instanceof Array)) { value = value !== undefined ? [value] : []; } - if (!value.length) { - value = ['']; - } return value; } |