[Xerte-dev] Re: Browse Dialog Issue when Uploading Media

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri May 10 09:47:17 BST 2013


Further info (and going slightly nuts)

Clean XAMPP install from 2.0
Made Xerte toolkit. Can replicate the issue
Made a bootstrap - cannot replicate the issue

Brill!

Replace files in modules/Xerte/engine with files from modules site/engine

Delete cache, refresh in FF.

Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap.

Can anyone else replicate it?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 10 May 2013 09:34
To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)
Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media

On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog.

On my xampp install I can't replicate it.

On our main install Fay can't replicate it.

All in FF 20.0.1

So WTF?

From: Tenney Julian
Sent: 25 April 2013 12:10
To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>)
Subject: Browse Dialog Issue when Uploading Media

A long standing issue, but some progress: but I don't know why (this was Pat's code originally):

Problem: upload media, preview, upload another media aand the browse dialog doesn't show.

Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this:


    function hideunload(){



        window.onbeforeunload = null;

    }


If you don't call that function, it works OK.

But it must be there for a reason: question is, what?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130510/feb5cb7f/attachment-0001.html>


More information about the Xerte-dev mailing list