mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Fix onclick handling broken w/ #1407
This commit is contained in:
@@ -329,8 +329,11 @@ var Tab = Backbone.View.extend({
|
||||
.on( 'click', function( e ) {
|
||||
e.preventDefault();
|
||||
self.model.set( 'show_menu', false );
|
||||
options.onclick && options.onclick();
|
||||
Galaxy.frame.add( options );
|
||||
if (options.onclick){
|
||||
options.onclick && options.onclick();
|
||||
} else {
|
||||
Galaxy.frame.add( options );
|
||||
}
|
||||
})
|
||||
);
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user