Jump to content

Log details load in opened state


Dee

Recommended Posts

Hello again

                Build 822 , in "view my Pireps" >>> Clicking on a flight number for a previously filed pirep now loads the Log details i.e additional log information ... expanded on first view, without having to click on the "view log" link

Link to comment
Share on other sites

Hi Nabeel

              Ah thanks yes looks nice with the FSFK log indeed .

about the Logic with the view log link , can it be that ?  ..............

<?php

/* If it's FSFK, don't show the toggle. We want all the details and pretty

images showing up by default */

if($pirep->source != 'fsfk')

{

?>

<p><a href="#" onclick="$('#log').toggle(); return false;">View Log</a></p>

the above if else does'nt work for some reason ? since the Link shows anyway

http://www.airindiavirtual.net/vms/index.php/pireps/view/440

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...