mstralka (9) [Avatar] Offline
#1
The last line in this listing is:
openFile(file);


It should be:
openFile(targetWindow, file);
Steve Kinney (33) [Avatar] Offline
#2
Good catch! I'll fix this.