summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/navigation/Router.js
Commit message (Collapse)AuthorAgeFilesLines
* Change lang.hitch to javascript bind methodPavel Vomacka2016-06-031-3/+2
| | | | | | | | Also remove the dojo/_base/lang module in cases it is not needed any more. https://fedorahosted.org/freeipa/ticket/5702 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
* webui: menu and navigation fixesPetr Vobornik2015-07-031-1/+1
| | | | | | | | | | | | | | | | | | | fixes: 1. When navigation is initiated from clicking and a link with hash, update of facet state causes that subsequent click on a link with hash will be ignored. Caused by a code which prevents infinite loop because of facet state update. Now hash update is done only if it was really changed. 2. registered correct handler for standalone pages 3. fix selection of menu item where the items differ only in args. Chooses the item with the most similar state to current facet. https://fedorahosted.org/freeipa/ticket/3129 Reviewed-By: Martin Kosek <mkosek@redhat.com> Reviewed-By: Tomas Babej <tbabej@redhat.com>
* webui: generic routingPetr Vobornik2014-06-231-231/+12
| | | | | | | | | | | Router is not able to create hash from facet state for custom routes/facets. This patch refactors router methods into providers. It allows to create additional route handlers, navigators and hash creators. These providers are mapped to facets and therefore it's possible to create router hash for any facet without any logic in the facet itself. Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
* Web UI source code annotationPetr Vobornik2013-10-161-10/+21
| | | | Part of ongoing Web UI documentation effort. Source code is annotated in a way that it can be processed by documentation generator.
* Navigation: handle invalid routesPetr Vobornik2013-05-061-6/+52
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Replace ./facets with reg.facetPetr Vobornik2013-05-061-22/+10
| | | | https://fedorahosted.org/freeipa/ticket/3235
* Use dojo/on instead of dojo/topic for facet-xxx events'Petr Vobornik2013-05-061-7/+7
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Raise only one "set" event on facet.state.setPetr Vobornik2013-05-061-2/+2
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Don't expect key for singleton objects (dnsconfig, config, realmdomains)Petr Vobornik2013-05-061-0/+2
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Rename path array from hash to path in hash generationPetr Vobornik2013-05-061-7/+7
| | | | https://fedorahosted.org/freeipa/ticket/3236
* Menu and application controller refactoringPetr Vobornik2013-05-061-0/+337
https://fedorahosted.org/freeipa/ticket/3235 https://fedorahosted.org/freeipa/ticket/3236