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

(-)a/cataloguing/value_builder/callnumber-KU.pl (-3 / +2 lines)
Lines 46-53 my $builder = sub { Link Here
46
    my ( $params ) = @_;
46
    my ( $params ) = @_;
47
    my $res="
47
    my $res="
48
    <script>
48
    <script>
49
        function Click$params->{id}() {
49
        function Click$params->{id}(ev) {
50
                var code = document.getElementById('$params->{id}');
50
                var code = document.getElementById(ev.data.id);
51
                var url = '../cataloguing/plugin_launcher.pl?plugin_name=callnumber-KU.pl&code=' + code.value;
51
                var url = '../cataloguing/plugin_launcher.pl?plugin_name=callnumber-KU.pl&code=' + code.value;
52
                var req = \$.get(url);
52
                var req = \$.get(url);
53
                req.done(function(resp){
53
                req.done(function(resp){
54
- 

Return to bug 32814