New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Chrome] Input fields loosing focus if login/password information is preserved in browser #504
Comments
Customers with a C1 CMS Service Plan (developer, business or premium) can now install a hotfix that solve this issue. Install steps for hotfix:
The hotfix require browser cache to be flushed - for browsers accessing the CMS console to edit content, use the browsers cache flush option (ctrl+shift+del - "Clear cache" / "Clear cached files" depending on browser). |
Manual fix for this issue:
"undefined"!=typeof KickStart&&"undefined"!=typeof EventBroadcaster&&EventBroadcaster.subscribe&&/Chrome/.test(navigator.userAgent)&&(KickStart.subscribeToRemoveObsoluteDecks=function(){this.isSubscribedToRemoveObsoluteDecks||(this.isSubscribedToRemoveObsoluteDecks=!0,EventBroadcaster.subscribe(BroadcastMessages.APPLICATION_LOGIN,{handleBroadcast:function(){try{if("undefined"!=typeof top&&top.bindingMap&&"undefined"!=typeof DocumentManager&&DocumentManager.detachBindings)for(var e=["logindeck","changepassworddeck"],t=0;t<e.length;t++)obsoletedDeckName=e[t],top.bindingMap[obsoletedDeckName]&&(obsoletedDeck=top.bindingMap[obsoletedDeckName],obsoletedDeck&&obsoletedDeck.bindingElement&&(DocumentManager.detachBindings(obsoletedDeck.bindingElement,!0),obsoletedDeck.bindingElement.innerHTML=""))}catch(e){}}}))},KickStart.subscribeToRemoveObsoluteDecks()); |
Since a new commit has been made regarding this issue, is the fix mentioned by @neexite still complete? |
Yes, the other commit is fixing the Nightwatch tests that we're using, which are not a part of deployment. |
Repro:
Result: the field loses focus every 5 seconds, making editing inputs rather difficult.
Workaround is either to remove remembered password in Chrome or to use the incognito mode.
The text was updated successfully, but these errors were encountered: