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

Tom Reijnders reijnders at tor.nl
Sat Feb 2 10:34:51 GMT 2013


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/20130202/656f1219/attachment.html>


More information about the Xerte-dev mailing list