[Xerte-dev] Re: 2.1 stable, onbeforeunload and Déjà vu?
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Fri Feb 13 10:45:42 GMT 2015
>1. How best to remove the rougue onbeforeunload="javascript:logout()" from 2.1? I could commit the change direct to 2.1
I think that's the best way if it is still there.
I don't know about the ldap issues I'm afraid.
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 13 February 2015 10:43
To: 'For Xerte technical developers'
Subject: [Xerte-dev] 2.1 stable, onbeforeunload and Déjà vu?
Hi all
I know we've discussed this sort of thing before but doesn't seem easy to locate and track back through specific steps but anyway case in point...
You may have noticed I responded to the question and thread on the community site re moodle integration and helped Jayne get things working including I think the last issue about logout not working. She hasn't replied and confirmed yet but it seems very likely that the problem with logout is the unecessary onbeforeunload="javascript:logout()" in index.php which I'm pretty sure we've worked through and discussed here before as well as Julian replying to a previous mention of this on the community forums.
I don't personally find it easy to navigate the commits to spot changes in each branch etc and so not sure whether the rogue code has ever been removed from 2.1 or removed and somehow crept back. Also I seem to recall that Julian orginally added that code to try to resolve a firefox issue but not sure what the final result of that was except that leaving it in causes more problems than it fixes. I did an install of 2.1 earlier this week and with hindsight noticed the issue then too but because of an issue with the latest 2.1 and ldap (another story see below) reverted to an earlier 2.1 revision which must have had that code removed. So a few questions:
1. How best to remove the rougue onbeforeunload="javascript:logout()" from 2.1? I could commit the change direct to 2.1 but not sure that's the best way e.g. it's already removed from develop but obviously develop isn't ready for production use.
2. Are there other differences like this e.g. later changes that aren't related to the new editor but only in later branches and not in 2.1?
3. I did an install of the latest 2.1 revision earlier this week and had problems when it came to ldap. Login was working but project folders weren't being created with the username included so breaking. I ended up replace the install with an older revision which worked immediately. There wasn't time to unpick the differences but just wondering if anyone recognises that issue with LDAP and which commit is relevant?
Cheers
Ron
BTW apologies if two copies of this message reach the list - the first attempt bounced :-(
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150213/d4f55662/attachment.html>
More information about the Xerte-dev
mailing list