mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix grid initialization bug that was preventing visualization grids from working properly.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -223,7 +223,7 @@
|
||||
$(".label").each( function() {
|
||||
// If href has an operation in it, do operation when clicked. Otherwise do nothing.
|
||||
var href = $(this).attr('href');
|
||||
if ( href.indexOf('operation=') != -1 ) {
|
||||
if ( href !== undefined && href.indexOf('operation=') != -1 ) {
|
||||
$(this).click( function() {
|
||||
do_operation_from_href( $(this).attr('href') );
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user