commit/galaxy-central: kanwei: Fix LibraryField grouping issue by adding prefix
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/f5f352f7099d/ changeset: f5f352f7099d user: kanwei date: 2011-07-20 03:22:07 summary: Fix LibraryField grouping issue by adding prefix affected #: 1 file (21 bytes) --- a/lib/galaxy/web/form_builder.py Tue Jul 19 15:10:11 2011 -0400 +++ b/lib/galaxy/web/form_builder.py Tue Jul 19 21:22:07 2011 -0400 @@ -658,7 +658,7 @@ self.name = name self.ldda = value self.trans = trans - def get_html( self, disabled=False ): + def get_html( self, prefix="", disabled=False ): if not self.ldda: ldda = "" text = "Choose a library dataset" @@ -666,7 +666,7 @@ ldda = self.trans.security.encode_id(self.ldda.id) text = self.ldda.name return '<a href="javascript:void(0);" class="add-librarydataset">%s</a> \ - <input type="hidden" name="%s" value="%s">' % ( text, self.name, escape( str(ldda), quote=True ) ) + <input type="hidden" name="%s%s" value="%s">' % ( text, prefix, self.name, escape( str(ldda), quote=True ) ) def get_display_text(self): if self.ldda: 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)
-
Bitbucket