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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/result.tt (-6 / +3 lines)
Lines 5-13 Link Here
5
//<![CDATA[
5
//<![CDATA[
6
function GetIt(bibno,title)
6
function GetIt(bibno,title)
7
{
7
{
8
    title = title.replace(/\?/,"\?");
8
    title = title.parents('tr').find('.title').text();
9
    title = title.replace(/"/,"\"");
10
    title = title.replace(/'/,"\'");
11
    opener.document.f.biblionumber.value = bibno;
9
    opener.document.f.biblionumber.value = bibno;
12
    opener.document.f.title.value = title;
10
    opener.document.f.title.value = title;
13
    window.close();
11
    window.close();
Lines 33-39 function GetIt(bibno,title) Link Here
33
    </tr>
31
    </tr>
34
    [% FOREACH resultsloo IN resultsloop %]
32
    [% FOREACH resultsloo IN resultsloop %]
35
        <tr>
33
        <tr>
36
            <td>[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
34
            <td class="title">[% resultsloo.title |html %] [% resultsloo.subtitle |html %]
37
            </td>
35
            </td>
38
            <td>
36
            <td>
39
                [% resultsloo.author |html %]
37
                [% resultsloo.author |html %]
Lines 44-50 function GetIt(bibno,title) Link Here
44
            <td>
42
            <td>
45
                [% resultsloo.publicationyear |html %]
43
                [% resultsloo.publicationyear |html %]
46
            </td>
44
            </td>
47
			<td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]','[% resultsloo.title |url %]');" title="Choose this record">Choose</a></td>
45
			<td><a href="#" onclick="GetIt('[% resultsloo.biblionumber %]',$(this));" title="Choose this record">Choose</a></td>
48
        </tr>
46
        </tr>
49
    [% END %]
47
    [% END %]
50
    </table>
48
    </table>
51
- 

Return to bug 6806