[Freeipa-devel] [PATCH] Clean ipa.js and make it load plugin meta-data over JSON-RPC.

Pavel Zuna pzuna at redhat.com
Tue Aug 10 17:30:10 UTC 2010


What it means?
Well, first I removed some development control variables from ipa.js.
Namely useSampleData and sizelimit. I moved useSampleData to the top
of index.xhtml. This way we won't forget about it when we don't need
it anymore. sizelimit has nothing to do in ipa.js and be hardcoded
for ALL commands! Some don't have this parameter and could fail.

Since ipa_init now loads meta-data over JSON-RPC, we need to wait for
it to finish its job. That's why I put a second parameter to ipa_init:
on_win. ipa_init will call on_win when all data is loaded properly and
we can start building the page.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pzuna-freeipa-0012-cleanipajs.patch
Type: application/mbox
Size: 4756 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100810/3f6d7e9f/attachment.mbox>


More information about the Freeipa-devel mailing list