mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Minor wording tweaks.
This commit is contained in:
@@ -133,12 +133,12 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
highlight: function (input_id, message, silent) {
|
||||
// get input field
|
||||
var input_element = this.element_list[input_id];
|
||||
|
||||
|
||||
// check input element
|
||||
if (input_element) {
|
||||
// mark error
|
||||
input_element.error(message || 'Please verify this parameter.');
|
||||
|
||||
|
||||
// scroll to first input element
|
||||
if (!silent) {
|
||||
$('html, body').animate({
|
||||
@@ -153,7 +153,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
_errors: function(options) {
|
||||
// hide previous error statements
|
||||
this.trigger('reset');
|
||||
|
||||
|
||||
// highlight all errors
|
||||
if (options && options.errors) {
|
||||
var error_messages = this.tree.matchResponse(options.errors);
|
||||
@@ -193,7 +193,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
// here we update the tool version (some tools encode the version also in the id)
|
||||
self.options.id = self.options.id.replace(self.options.version, this.version);
|
||||
self.options.version = this.version;
|
||||
|
||||
|
||||
// rebuild the model and form
|
||||
self.deferred.reset();
|
||||
self.deferred.execute(function(){self._buildModel()});
|
||||
@@ -223,7 +223,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
window.open(options.biostar_url + '/p/new/post/');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// create search button
|
||||
menu_button.addMenu({
|
||||
icon : 'fa-search',
|
||||
@@ -305,7 +305,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
ignore : '__ignore__',
|
||||
value : '__ignore__',
|
||||
options : [['Yes', this.options.job_id], ['No', '__ignore__']],
|
||||
help : 'The previous run of this tool failed and other tools were waiting for it to finish successfully, use this option to resume those tools using the outputs of this tool run.'
|
||||
help : 'The previous run of this tool failed and other tools were waiting for it to finish successfully. Use this option to resume those tools using the new output(s) of this tool run.'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -133,12 +133,12 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
highlight: function (input_id, message, silent) {
|
||||
// get input field
|
||||
var input_element = this.element_list[input_id];
|
||||
|
||||
|
||||
// check input element
|
||||
if (input_element) {
|
||||
// mark error
|
||||
input_element.error(message || 'Please verify this parameter.');
|
||||
|
||||
|
||||
// scroll to first input element
|
||||
if (!silent) {
|
||||
$('html, body').animate({
|
||||
@@ -153,7 +153,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
_errors: function(options) {
|
||||
// hide previous error statements
|
||||
this.trigger('reset');
|
||||
|
||||
|
||||
// highlight all errors
|
||||
if (options && options.errors) {
|
||||
var error_messages = this.tree.matchResponse(options.errors);
|
||||
@@ -193,7 +193,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
// here we update the tool version (some tools encode the version also in the id)
|
||||
self.options.id = self.options.id.replace(self.options.version, this.version);
|
||||
self.options.version = this.version;
|
||||
|
||||
|
||||
// rebuild the model and form
|
||||
self.deferred.reset();
|
||||
self.deferred.execute(function(){self._buildModel()});
|
||||
@@ -223,7 +223,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
window.open(options.biostar_url + '/p/new/post/');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// create search button
|
||||
menu_button.addMenu({
|
||||
icon : 'fa-search',
|
||||
@@ -305,7 +305,7 @@ define(['utils/utils', 'utils/deferred', 'mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
ignore : '__ignore__',
|
||||
value : '__ignore__',
|
||||
options : [['Yes', this.options.job_id], ['No', '__ignore__']],
|
||||
help : 'The previous run of this tool failed and other tools were waiting for it to finish successfully, use this option to resume those tools using the outputs of this tool run.'
|
||||
help : 'The previous run of this tool failed and other tools were waiting for it to finish successfully. Use this option to resume those tools using the new output(s) of this tool run.'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user