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

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

Return to bug 32819