details: http://www.bx.psu.edu/hg/galaxy/rev/5fa8803716fd
changeset: 2582:5fa8803716fd
user: James Taylor <james(a)jamestaylor.org>
date: Wed Aug 19 18:07:55 2009 -0400
description:
Tweak workflow save changes to use more specific '#right-content'
2 file(s) affected in this change:
static/scripts/galaxy.workflow_editor.canvas.js
templates/workflow/editor.mako
diffs (49 lines):
diff -r 3353b15d0fb5 -r 5fa8803716fd static/scripts/galaxy.workflow_editor.canvas.js
--- a/static/scripts/galaxy.workflow_editor.canvas.js Wed Aug 19 17:51:46 2009 -0400
+++ b/static/scripts/galaxy.workflow_editor.canvas.js Wed Aug 19 18:07:55 2009 -0400
@@ -439,25 +439,11 @@
});
});
},
- enable_auto_save : function() {
- // Implements auto-saving based on whether the inputs change. We consider
- // "changed" to be when a field is accessed and not necessarily modified
- // because of an issue where "onchange" is not triggered when activating
- // another node, or saving the workflow.
- outer_this = this;
- $(".toolFormBody").find("input,textarea,select").each( function() {
- $(this).focus( function() {
- outer_this.active_form_has_changes = true;
- });
- });
- },
check_changes_in_active_form : function() {
// If active form has changed, save it
if (this.active_form_has_changes) {
this.has_changes = true;
- $(".toolFormBody").find("form").each( function() {
- $(this).submit();
- });
+ $("#right-content").find("form").submit();
this.active_form_has_changes = false;
}
},
diff -r 3353b15d0fb5 -r 5fa8803716fd templates/workflow/editor.mako
--- a/templates/workflow/editor.mako Wed Aug 19 17:51:46 2009 -0400
+++ b/templates/workflow/editor.mako Wed Aug 19 18:07:55 2009 -0400
@@ -303,6 +303,15 @@
$(this).remove();
make_popupmenu( b, options );
});
+ // Implements auto-saving based on whether the inputs change. We consider
+ // "changed" to be when a field is accessed and not necessarily modified
+ // because of an issue where "onchange" is not triggered when activating
+ // another node, or saving the workflow.
+ $(this).find("input,textarea,select").each( function() {
+ $(this).focus( function() {
+ workflow.active_form_has_changes = true;
+ });
+ });
});
}
details: http://www.bx.psu.edu/hg/galaxy/rev/c5968ee9399b
changeset: 2579:c5968ee9399b
user: Kanwei Li <kanwei(a)gmail.com>
date: Wed Aug 19 11:33:58 2009 -0400
description:
Typo
1 file(s) affected in this change:
tools/new_operations/cluster.xml
diffs (12 lines):
diff -r e9d70dca2ff5 -r c5968ee9399b tools/new_operations/cluster.xml
--- a/tools/new_operations/cluster.xml Wed Aug 19 11:33:48 2009 -0400
+++ b/tools/new_operations/cluster.xml Wed Aug 19 11:33:58 2009 -0400
@@ -74,7 +74,7 @@
**Syntax**
- **Maximum distance** is greatest distance in base pairs allowed between intervals that will be considered "clustered". **Negative** values for distance are allowed, and are useful for clustering intervals that overlap.
-- **Minimum intervals per cluster** allow a threshold to be set on the minimum number of intervals to be considered a cluster. Any area with less than this minimum will not be included in the ouput.
+- **Minimum intervals per cluster** allow a threshold to be set on the minimum number of intervals to be considered a cluster. Any area with less than this minimum will not be included in the output.
- **Merge clusters into single intervals** outputs intervals that span the entire cluster.
- **Find cluster intervals; preserve comments and order** filters out non-cluster intervals while maintaining the original ordering and comments in the file.
- **Find cluster intervals; output grouped by clusters** filters out non-cluster intervals, but outputs the cluster intervals so that they are grouped together. Comments and original ordering in the file are lost.