r1987 - in branches/milestone_43.x: skins/wikipathways wpi/extensions

1 view
Skip to first unread message

martijn....@bigcat.unimaas.nl

unread,
Jan 6, 2017, 8:16:59 PM1/6/17
to wikipathw...@googlegroups.com
Author: ariutta
Date: Sat Jan 7 04:02:46 2017
New Revision: 1987

Log:
Update modal


Modified:
branches/milestone_43.x/skins/wikipathways/jnlp-instructions.png
branches/milestone_43.x/wpi/extensions/pathwayThumb.php

Modified: branches/milestone_43.x/skins/wikipathways/jnlp-instructions.png
==============================================================================
Binary files. No diff available.

Modified: branches/milestone_43.x/wpi/extensions/pathwayThumb.php
==============================================================================
--- branches/milestone_43.x/wpi/extensions/pathwayThumb.php (original)
+++ branches/milestone_43.x/wpi/extensions/pathwayThumb.php Sat Jan 7 04:02:46 2017
@@ -78,7 +78,7 @@
'<a id="download-from-page" href="#" onclick="return false;" class="button"><span>Launch Editor</span></a>' .
'<script type="text/javascript">' .
" $('#download-from-page').click(function() { " .
- " $.modal('<div id=\"jnlp-instructions\" style=\"width: 576px; height: 450px; background-color:white; \"> <img id=\"jnlp-instructions-diagram\" src=\"/skins/wikipathways/jnlp-instructions.png\" width=\"576px\" height=\"403px\" alt=\"The JNLP will download to your default folder. Right-click the JNLP file and select Open.\"> <button id=\"download-from-modal\" class=\"btn btn-primary btn-lg\" type=\"button\" onClick=\"$.modal.close()\" style=\"float:right; margin: 2px;\">Got It</button> </div>', {overlayClose:true, overlayCss: {backgroundColor: \"gray\"}, opacity: 50}); " .
+ " $.modal('<div id=\"jnlp-instructions\" style=\"width: 610px; height:616px; cursor:pointer;\" onClick=\"$.modal.close()\"><img id=\"jnlp-instructions-diagram\" src=\"/skins/wikipathways/jnlp-instructions.png\" alt=\"The JNLP will download to your default folder. Right-click the JNLP file and select Open.\"> </div>', {overlayClose:true, overlayCss: {backgroundColor: \"gray\"}, opacity: 50}); " .
// We need the kludge below, because the image doesn't display in FF otherwise.
" window.setTimeout(function() { " .
" $('#jnlp-instructions-diagram').attr('src', '/skins/wikipathways/jnlp-instructions.png'); " .
Reply all
Reply to author
Forward
0 new messages