Files
galaxy/static/scripts/galaxy.base.js
T
James Taylor 94f96b47c4 Move 'confirm' javascript up to base template (other scripts to be run on
every page can be added to galaxy.base.js). Cleaned up history templates
accordingly. Also, added scripts from IE7.js which fix many layout bugs in
older versions of IE.
2008-04-28 16:35:00 +00:00

7 lines
189 B
JavaScript

jQuery(document).ready( function() {
// Links with confirmation
jQuery( "a[@confirm]" ).click( function() {
return confirm( jQuery(this).attr( "confirm" ) )
})
});