##// END OF EJS Templates
use `window.onbeforeunload=` for nav-away warning...
use `window.onbeforeunload=` for nav-away warning Firefox 22 broke `$(window).on("beforeunload")` somehow, for some reason, resulting in always showing a dialog, regardless of the function's return value. The only fix I could find was resorting to the basic low-level API.

File last commit:

r8121:66727cb1
r11111:47587ae4
Show More
print_argv.py
2 lines | 30 B | text/x-python | PythonLexer
import sys
print sys.argv[1:]