commit/galaxy-central: dan: Update create_applet_tag_peekcreate_applet_tag_peek of images.py (used for e.g. GMAJ) to display an error message is Java is not installed/enabled for the browser.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/4eeac1dbfce3/ Changeset: 4eeac1dbfce3 User: dan Date: 2014-01-13 16:35:44 Summary: Update create_applet_tag_peekcreate_applet_tag_peek of images.py (used for e.g. GMAJ) to display an error message is Java is not installed/enabled for the browser. Affected #: 1 file diff -r c250b1cfc60fe2b56ddcf18e2cf2543631d4c26f -r 4eeac1dbfce3f399312e58e92d820e1153ba1a09 lib/galaxy/datatypes/images.py --- a/lib/galaxy/datatypes/images.py +++ b/lib/galaxy/datatypes/images.py @@ -213,7 +213,6 @@ def create_applet_tag_peek( class_name, archive, params ): text = """ -<!--[if !IE]>--><object classid="java:%s" type="application/x-java-applet" height="30" width="200" align="center" > @@ -221,17 +220,14 @@ for name, value in params.iteritems(): text += """<param name="%s" value="%s"/>""" % ( name, value ) text += """ -<!--<![endif]--><object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" height="30" width="200" ><param name="code" value="%s" /><param name="archive" value="%s"/>""" % ( class_name, archive ) for name, value in params.iteritems(): text += """<param name="%s" value="%s"/>""" % ( name, value ) - text += """</object> -<!--[if !IE]>--> + text += """<div class="errormessage">You must install and enable Java in your browser in order to access this applet.<div></object></object> -<!--<![endif]--> """ return """<div><p align="center">%s</p></div>""" % text 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