CrashGordon Posted February 9, 2010 Report Posted February 9, 2010 A new pilot ran into a problem filing a manual pirep. Every time he selected the airline, the dropdown menu for the departure airport only displayed 2 airports. While my screen displays this: His displays this: I'm using IE8. He is using Firefox. I don't have Firefox, but was able to replicate the problem, using Google Chrome. Any thoughts on what the problem is. He can display all the dearture airports until he selects the airline. There is no problem displaying the destination airports. Quote
Administrators Nabeel Posted February 9, 2010 Administrators Report Posted February 9, 2010 Wow that's weird. What version are you on? Quote
CrashGordon Posted February 10, 2010 Author Report Posted February 10, 2010 Version 2.0.854 . Want to know something even wierder. If I select the departure airport, using Google Chrome, and then select the airline, the departure airport disappears and I'm left with a selection of two airports to choose from. Wait, this is really strange. If I select, airline, the dropdown menu for departure airport shrinks in width for accomodate the longest of the 2 remaining airports. If I then go back and deselect the airline, the departure airport dropdown menu disappears entirely when I'm using Chrome. I never picked up on this because it works just fine on IE8, here and most of the pilots use FSACARS. Quote
Administrators Nabeel Posted February 10, 2010 Administrators Report Posted February 10, 2010 Strange... there's no javascript which limits those selections or anything, hmm. So it's on Chrome and FF? Quote
CrashGordon Posted February 10, 2010 Author Report Posted February 10, 2010 As far as I know. The pilot who called it to my attention said it also happened o him with IE, but I do not know the version. Since I didn't do anything but add additional fields via the admin area, I don't think it's something I broke. (Or, at least, I hope not.) I wonder if the problem can be replicated on a different site. Quote
Administrators Nabeel Posted February 10, 2010 Administrators Report Posted February 10, 2010 If you can poke around the dev site and try it, I can't ATM Quote
TennShadow Posted February 10, 2010 Report Posted February 10, 2010 Hello, I'm running the same version on my production site and I tried to recreate your error using Firefox and Chrome but was not able to. What I did notice was that the departure drop down will disappear if you deselect the airline but returns when you select the airline again. But, it still show all my airports so no error there. In IE8 the departure field never disappears. Quote
CrashGordon Posted February 10, 2010 Author Report Posted February 10, 2010 I am going to see if I can find any more information. EDIT: Can anyone suggest why selecting or deslecting the airline, impacts the departure airport, but no other field? Quote
Administrators Nabeel Posted February 10, 2010 Administrators Report Posted February 10, 2010 Well when you change the airline, it will list only the departure airports that airline has schedules for. Quote
CrashGordon Posted February 10, 2010 Author Report Posted February 10, 2010 You've given me a clue which I'm going to fiollow, but I'm still puzzled as to why my IE8 displays all the airports when other browsers don't. Additionally, wouldn't that also apply to destination airports? In any event, what would I have to change to ensure that all airports are displayed? Quote
Administrators Nabeel Posted February 10, 2010 Administrators Report Posted February 10, 2010 Not the destination airports. To disable that, just change the id="code" to something other than "code" on that airline field Quote
CrashGordon Posted February 10, 2010 Author Report Posted February 10, 2010 Changed it to "nocode". It appears to have resolved the issue in Google Chrome. I'm now checking to see if it broke anything else. I take it that pirep_new.tpl is the only place this needs to be done. To anyone following this thread, you are not likely to encounter this problem We're using a very strange system here. ;D Thanks, Nabeel Quote
Administrators Nabeel Posted February 11, 2010 Administrators Report Posted February 11, 2010 No problem, as long as you just changed the ID not the name, it should be OK Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.