[Xerte-dev] Re: Ctrl+Play doesn't show html version anymore

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Feb 4 09:29:42 GMT 2013


That's right, sorry, for the time being at least. Eventually it should work the same way as the existing arrangement

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 02 February 2013 10:35
To: For Xerte technical developers
Subject: [Xerte-dev] Ctrl+Play doesn't show html version anymore

Julian,

I don't think this is what you meant...

            if (Key.isDown(Key.CONTROL)){ //play the html5 version
           if(_root.apache!="false"){
                //url = "preview_html5_" + _root.template_id
           //}else{
                url = "preview_html5.php?template_id=" + _root.template_id;
            }
       }

But this...

            if (Key.isDown(Key.CONTROL)){ //play the html5 version
           //if(_root.apache!="false"){
                //url = "preview_html5_" + _root.template_id
           //}else{
                url = "preview_html5.php?template_id=" + _root.template_id;
           // }
       }

i.e. always use the full link, not the Apache rewrite version.  Correct? If so, I will commit that change.






--

--



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/20130204/fc3282df/attachment.html>


More information about the Xerte-dev mailing list