Ignore:
Timestamp:
2010-11-10T15:33:16+13:00 (13 years ago)
Author:
kjdon
Message:

for the buttons on the work with existing collection page (source data, configure, delete, export), need to call check_submit instead of just using a macro, as we need to submit the form so that bc1dirname is set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/collect.dm

    r19826 r23310  
    4141
    4242_httpinfo_ {_gwcgi_?e=_compressedoptions_&p=info}
    43 _httpsrce_ {_gwcgi_?e=_compressedoptions_&p=srce}
    44 _httpconf_ {_gwcgi_?e=_compressedoptions_&p=conf}
    45 _httpbild_ {_gwcgi_?e=_compressedoptions_&p=bild}
    4643_httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_}
    47 _httpdel_  {javascript:do\_delete();}
    48 _httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt}
    4944
    5045
     
    132127<table class=collectorbar cellspacing=6>
    133128<tr><td width=20 align=right valign=bottom>1.</td>
    134 <td class=collectorbargreen valign=bottom><a href=_httpsrce_>_textsrce_</a></td>
     129<td class=collectorbargreen valign=bottom><a href="javascript:check\_submit('srce');">_textsrce_</a></td>
    135130<td valign=bottom>_textamd_</td></tr>
    136131<tr><td align=right valign=bottom>2.</td>
    137 <td class=collectorbargreen valign=bottom><a href=_httpconf_>_textconf_</a></td>
     132<td class=collectorbargreen valign=bottom><a href="javascript:check\_submit('conf');">_textconf_</a></td>
    138133<td valign=bottom>_textetc_</td></tr>
    139134<tr><td align=right valign=bottom>3.</td>
    140 <td class=collectorbargreen valign=bottom><a href=_httpdel_>_textdel_</a></td>
     135<td class=collectorbargreen valign=bottom><a href="javascript:do\_delete();">_textdel_</a></td>
    141136<td valign=bottom>_textdtc_</td></tr>
    142137<tr><td align=right valign=bottom>4.</td>
    143 <td class=collectorbargreen valign=bottom><a href=_httpexpt_>_textexpt_</a></td>
     138<td class=collectorbargreen valign=bottom><a href="javascript:check\_submit('expt');">_textexpt_</a></td>
    144139<td valign=bottom>_textetcfcd_</td></tr>
    145140</table>
Note: See TracChangeset for help on using the changeset viewer.