392809f webui: menu and navigation fixes

3 files Authored by pvoborni 6 years ago, Committed by tbabej 6 years ago,
    webui: menu and navigation fixes
    
    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>