View | Details | Raw Unified | Return to bug 6444
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tmpl (-3 / +2 lines)
Lines 6-12 Link Here
6
function GetIt(aqbooksellerid,name)
6
function GetIt(aqbooksellerid,name)
7
{
7
{
8
  opener.document.f.aqbooksellerid.value = aqbooksellerid;
8
  opener.document.f.aqbooksellerid.value = aqbooksellerid;
9
  opener.document.f.aqbooksellername.value = unescape(name);
9
  opener.document.f.aqbooksellername.value = name;
10
  window.close();
10
  window.close();
11
}
11
}
12
</script>
12
</script>
Lines 33-39 function GetIt(aqbooksellerid,name) Link Here
33
        <tr>
33
        <tr>
34
        <!-- /TMPL_UNLESS -->
34
        <!-- /TMPL_UNLESS -->
35
			<td><!-- TMPL_VAR name="name" --></td>
35
			<td><!-- TMPL_VAR name="name" --></td>
36
			<td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,'<!--  TMPL_VAR escape="URL" NAME="name" -->')">Choose</a></td>
36
			<td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,$(this).parent().prev().text())">Choose</a></td>
37
		</tr>
37
		</tr>
38
	<!-- /TMPL_LOOP -->
38
	<!-- /TMPL_LOOP -->
39
</table>
39
</table>
40
- 

Return to bug 6444