[Xerte-dev] Browse Dialog Issue when Uploading Media
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Thu Apr 25 12:10:01 BST 2013
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/20130425/7ccc3d54/attachment.html>
More information about the Xerte-dev
mailing list