commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/af67ea0dd4d5/ Changeset: af67ea0dd4d5 Branch: next-stable User: guerler Date: 2014-11-20 19:29:27+00:00 Summary: Fix boolean handling for workflow editor Affected #: 1 file diff -r b87a9309cc68f7bffe886123b083d058c6347144 -r af67ea0dd4d5c718906ad883c76fd1efce86dbfc lib/galaxy/web/form_builder.py --- a/lib/galaxy/web/form_builder.py +++ b/lib/galaxy/web/form_builder.py @@ -126,9 +126,6 @@ def is_checked( value ): if value == True: return True - if isinstance( value, basestring ): - if value.lower() in [ "yes", "true", "on" ]: - return True # This may look strange upon initial inspection, but see the comments in the get_html() method # above for clarification. Basically, if value is not True, then it will always be a list with # 2 input fields ( a checkbox and a hidden field ) if the checkbox is checked. If it is not https://bitbucket.org/galaxy/galaxy-central/commits/9dae58e22285/ Changeset: 9dae58e22285 User: guerler Date: 2014-11-20 19:29:44+00:00 Summary: Merge Affected #: 1 file diff -r 179f809b70dfabff53a6731ab70af949bc213e07 -r 9dae58e2228516766b65058b86d949bcfb23f775 lib/galaxy/web/form_builder.py --- a/lib/galaxy/web/form_builder.py +++ b/lib/galaxy/web/form_builder.py @@ -126,9 +126,6 @@ def is_checked( value ): if value == True: return True - if isinstance( value, basestring ): - if value.lower() in [ "yes", "true", "on" ]: - return True # This may look strange upon initial inspection, but see the comments in the get_html() method # above for clarification. Basically, if value is not True, then it will always be a list with # 2 input fields ( a checkbox and a hidden field ) if the checkbox is checked. If it is not Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org