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

Pat @ Pgogy xerte at pgogywebstuff.com
Thu Apr 25 13:32:26 BST 2013


There is an event added in the upload stuff in the wizard to trap something happening - perhaps preview - but is in the wizard.

Can't remember more than that

On 25 Apr 2013, at 12:31, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:

> OK, I changed it to set bunload to function(){} rather than null and it solves the browse dialog not showing problem, but unless you tell me more info I don’t know if that breaks the lockfile stuff (I can’t see why)
>  
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy 
> Sent: 25 April 2013 12:14
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media
>  
> That's lockfile stuff
> 
> On 25 Apr 2013, at 12:10, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
> 
> 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?
> 
> 
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130425/f5bcfab8/attachment.html>


More information about the Xerte-dev mailing list