mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Add descriptive comments
This commit is contained in:
@@ -210,6 +210,9 @@ var FolderToolbarView = Backbone.View.extend({
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* This function returns a promise
|
||||
*/
|
||||
fetchUserHistories: function() {
|
||||
this.histories = new mod_library_model.GalaxyHistories();
|
||||
return this.histories.fetch();
|
||||
@@ -237,6 +240,9 @@ var FolderToolbarView = Backbone.View.extend({
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* This function returns a promise
|
||||
*/
|
||||
createNewHistory: function(new_history_name) {
|
||||
return $.post(`${getAppRoot()}api/histories`, { name: new_history_name });
|
||||
},
|
||||
|
||||
@@ -292,6 +292,8 @@ var BaseInputTerminal = Terminal.extend({
|
||||
inputFilled = false;
|
||||
} else {
|
||||
if (this.multiple) {
|
||||
// Can only attach one collection to multiple input
|
||||
// data parameter.
|
||||
inputFilled = !!this._collectionAttached();
|
||||
} else {
|
||||
inputFilled = true;
|
||||
|
||||
Reference in New Issue
Block a user