[Xerte-dev] Re: Browse Dialog Issue when Uploading Media
Tom Reijnders
reijnders at tor.nl
Fri May 10 13:04:47 BST 2013
Somehow the edit.php of site ended up in xerte, so xerte is using the
one from site (I noticed this, because the title of the edit window is
wrong).
See attached for a correct modules/xerte/edit.php. Will commit that later.
I added some Alert.show messages to the wizard, and it shows the button
is active, and it even returns true for the fileref.browse (line 2560)
Op 10-5-2013 13:52, Julian Tenney schreef:
>
> Which wizard file am I using if I edit a Xerte Online Toolkit piece?
>
> I have to say the modular code is very confusing with all the
> duplicated files, and the wizard in modules/Xerte/engine is not the
> wizard file I get when I edit one of those pieces. So which on is it?
> And which edit.php is being hit? Are there file duped unnecessarily?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom
> Reijnders
> *Sent:* 10 May 2013 12:09
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media
>
> No, I didn't check bootstrap yet. This is Xerte.
>
> Op 10-5-2013 12:53, Julian Tenney schreef:
>
> Just for the bootstrap template?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of
> *Tom Reijnders
> *Sent:* 10 May 2013 11:51
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media
>
> I've been able to reproduce it in my dev environment, But I also
> don't see any errors in console.
>
>
> Op 10-5-2013 12:33, Julian Tenney schreef:
>
> nope
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
> Of *Smith, John
> *Sent:* 10 May 2013 11:18
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading
> Media
>
> But no console errors?
>
> Regards,
>
> John Smith
>
> Learning Technologist
>
> School of Health & Life Sciences
>
> Glasgow Caledonian University
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
> Of *Julian Tenney
> *Sent:* Friday, May 10, 2013 11:09 AM
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading
> Media
>
> It's a FF issue only I think.
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
> Of *Ron Mitchell
> *Sent:* 10 May 2013 10:06
> *To:* 'For Xerte technical developers'
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading
> Media
>
> Sorry about to head off to catch a train and will be offline
> rest of the day so can't help much but I built a new xampp
> install yesterday from latest svn and just tried to replicate
> this but can't. Have only tested with IE but could browser be
> part of the equation?
>
> HTH
>
> Ron
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto: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:57
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading
> Media
>
> Need to fix it because it was driving me crackers yesterday.
>
> It is fixable, because I can replicate it in Xerte Toolkits
> pieces on a clean xampp install, but not a bootstrap (which
> works fine)
>
> So there is something in the Xerte pieces that is breaking it,
> and it's not the files in modules/Xerte/engine because I have
> swapped them with ones from modules/site/engine.
>
> Confusing issue, because yesterday it was the bootstrap one on
> our server that was giving me the grief.
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf
> Of *Tom Reijnders
> *Sent:* 10 May 2013 09:50
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading
> Media
>
> Yes, I've seen it (some) installations.
>
> It's VERY annoying.
>
> Some user had this issue in XAMPP. Don't remember who though.
>
> Tom
>
> Op 10-5-2013 10:47, Julian Tenney schreef:
>
> 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>
> [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
> <mailto: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?
>
>
>
>
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
> Glasgow Caledonian University is a registered Scottish
> charity, number SC021474
>
> Winner: Times Higher Education's Widening Participation
> Initiative of the Year 2009 and Herald Society's Education
> Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early
> Career Researchers of the Year 2010, GCU as a lead with
> Universities Scotland partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
>
> --
>
> --
>
>
>
> Tom Reijnders
>
> TOR Informatica
>
> Chopinlaan 27
>
> 5242HM Rosmalen
>
> Tel: 073 5226191
>
> Fax: 073 5226196
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> Xerte-dev at lists.nottingham.ac.uk <mailto:Xerte-dev at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130510/91540df6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edit.php
Type: application/x-httpd-php
Size: 7578 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130510/91540df6/attachment-0001.bin>
More information about the Xerte-dev
mailing list