fix not working click on status or progress, using now images instead of (in grid not working buttons) and fixed href implementation in progress

This commit is contained in:
Ralf Becker 2014-02-03 09:58:07 +00:00
parent 269398be1d
commit 6844f527d7

View File

@ -79,10 +79,10 @@
</row> </row>
<row class="$row_cont[info_cat] $row_cont[class]" valign="top"> <row class="$row_cont[info_cat] $row_cont[class]" valign="top">
<hbox align="center"> <hbox align="center">
<image label="$row_cont[info_type]" src="${row}[info_type]"/> <image label="$row_cont[info_type]" src="${row}[info_type]" default_src="infolog/navbar"/>
<button statustext="Change the status of an entry, eg. close it" label="$row_cont[info_status_label]" id="edit_status[$row_cont[info_id]]" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&amp;info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;" image="$row_cont[info_status_label]" ro_image="$row_cont[info_status_label]"/> <image label="$row_cont[info_status_label]" id="edit_status[$row_cont[info_id]]" href="javascript:egw.open($row_cont[info_id],'infolog');" src="$row_cont[info_status_label]"/>
<button statustext="Change the status of an entry, eg. close it" label="$row_cont[info_percent]" id="edit_percent[$row_cont[info_id]]" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&amp;info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;" image="$row_cont[info_percent]"/> <image label="$row_cont[info_percent]" id="edit_percent[$row_cont[info_id]]" href="javascript:egw.open($row_cont[info_id],'infolog');" src="$row_cont[info_percent]"/>
<progress label="$row_cont[info_percent]" id="{$row}[info_percent2]" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&amp;info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/> <progress label="$row_cont[info_percent]" id="{$row}[info_percent2]" href="javascript:egw.open($row_cont[info_id],'infolog');"/>
</hbox> </hbox>
<vbox class="infolog_fullWidth"> <vbox class="infolog_fullWidth">
<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/> <link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/>