Ignore:
Timestamp:
2011-01-05T09:18:04+13:00 (13 years ago)
Author:
sjm84
Message:

Merging the latest trunk changes into this branch

Location:
main/branches/64_bit_Greenstone/greenstone2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2

  • main/branches/64_bit_Greenstone/greenstone2/macros/talkback.dm

    r23187 r23523  
     1package Global
     2
     3# Currently nothing in talkbackscript
     4_talkbackscript_ {
     5}
     6
     7
    18package talkback
    29
    3 # The following values are typically set in <gsdlhome>/macro/extra.dm
    4 _talkfromcgi_ {}
    5 _talktocgi_   {}
     10# The following values are typically set in <gsdlhome>/macro/zextra.dm
     11# They are left commented out here so the error log does not get swamped
     12# with 'redefined' warning
     13#_talkfromcgi_ {}
     14#_talktocgi_   {}
    615
    716_talktoCollect_   {}
     
    1423_talktoLibrary_ {_talktocgi_/library.cgi}
    1524_talktoUpload_  {_talktocgi_/talkback-progressbar.pl}
     25
    1626
    1727
     
    3141    </form>
    3242
     43    <div id="talktoProgressBar" style="display: block;">
     44      <iframe style="float: top;" width="600" height="100" frameborder="0"
     45         src="_talktoUpload_">
     46      </iframe>
     47    </div>
     48
     49
    3350   <script type="text/javascript">
     51
     52
     53     function talktoProgressBarHide(oid)
     54     \{
     55
     56         var ttpb = document.getElementById("talktoProgressBar");
     57     ttpb.style.display = "none";
     58     \}
     59
    3460     
    3561     function talkbackUploadSubmit(oid)
    3662     \{
     63         var ttpb = document.getElementById("talktoProgressBar");
     64     ttpb.style.display = "block";
     65
     66     //if (window.addEventListener) \{
     67     //    window.addEventListener('beforeunload',talktoProgressBarHide,true);
     68         //\}
     69     //else \{
     70     //    window.attachEvent('onbeforeunload',talktoProgressBarHide);
     71     //\}
     72
     73     //alert("away to submit");
     74
    3775         var uploadForm = document.uploadForm;
    3876         uploadForm.oid.value = oid;
Note: See TracChangeset for help on using the changeset viewer.