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

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

Return to bug 32815