Ignore:
Timestamp:
Sep 8, 2008, 8:58:19 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1109: Plot tool doesn't display "Generating plot..." correctly in IE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/experiments/plotter/view.jsp

    r4476 r4486  
    4646    var url = window.opener.generatePlotUrl(true);
    4747    var img = document.getElementById('plot');
    48     img.src = url;
     48    img.realImg = new Image();
     49    img.realImg.onload = switchImage;
     50    img.realImg.src = url;
     51  }
     52  function switchImage()
     53  {
     54    var img = document.getElementById('plot');
     55    img.src = img.realImg.src;
    4956  }
    5057  </script>
Note: See TracChangeset for help on using the changeset viewer.