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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cn_browser.tt (-3 / +9 lines)
Lines 29-35 $(document).ready(function() Link Here
29
        type: "text"
29
        type: "text"
30
    });
30
    });
31
    $("#course_reserves").tablesorter({sorter:'textspec'});
31
    $("#course_reserves").tablesorter({sorter:'textspec'});
32
33
	$("#cn_browser_submit").click(function(){
34
		window.location.href='/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q='+$("#cn_browser_input").val(); 
35
		return false;
36
	});
37
32
}
38
}
39
33
);
40
);
34
</script>
41
</script>
35
42
Lines 40-47 $(document).ready(function() Link Here
40
<div style="margin:auto;text-align:center;">
47
<div style="margin:auto;text-align:center;">
41
    <form method="get" action="cn_browser.pl">
48
    <form method="get" action="cn_browser.pl">
42
    <label for="searchcn">Search call number:</label>
49
    <label for="searchcn">Search call number:</label>
43
    <input type="text" name="q" value="[% q %]" />
50
    <input type="text" id="cn_browser_input" name="q" value="[% q %]" />
44
    <input type="submit" value="Search" />
51
    <input id="cn_browser_submit" type="submit" value="Search" />
45
    </form>
52
    </form>
46
</div>
53
</div>
47
<br />
54
<br />
48
- 

Return to bug 13364