mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
library - stop event propagation if the folder row was clicked
This commit is contained in:
@@ -506,6 +506,7 @@ var FolderContentView = Backbone.View.extend({
|
||||
source = 'td';
|
||||
}
|
||||
if (checkbox === '') {event.stopPropagation(); return;} // button in row was clicked
|
||||
if (checkbox === undefined) {event.stopPropagation(); return;} // folder row was clicked
|
||||
|
||||
if (checkbox.checked){
|
||||
if (source==='td'){
|
||||
@@ -578,7 +579,7 @@ var FolderContentView = Backbone.View.extend({
|
||||
|
||||
// import all selected datasets into history
|
||||
importAllIntoHistory : function (){
|
||||
//disable the button to rprevent multiple submission
|
||||
//disable the button to prevent multiple submission
|
||||
this.modal.disableButton('Import');
|
||||
|
||||
var history_id = $("select[name=dataset_import_bulk] option:selected").val();
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user