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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-1 / +1 lines)
Lines 379-385 Link Here
379
                      </div>
379
                      </div>
380
380
381
                      <fieldset class="action">
381
                      <fieldset class="action">
382
                          <input type="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
382
                          <input id="add_order" type="submit" value="Save" /><a class="cancel" href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basketno | html %]">Cancel</a>
383
                      </fieldset>
383
                      </fieldset>
384
                    </form>
384
                    </form>
385
                [% ELSE %]
385
                [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js (-3 / +6 lines)
Lines 48-54 $(document).ready(function() { Link Here
48
        return false;
48
        return false;
49
    });
49
    });
50
50
51
    $("#Aform").on("submit", function(){
51
    $("input#add_order").on("click", function(e){
52
        e.preventDefault();
53
52
        if ( $("input:checkbox[name='import_record_id']:checked").length < 1 ) {
54
        if ( $("input:checkbox[name='import_record_id']:checked").length < 1 ) {
53
            alert( ERR_NO_RECORD_SELECTED );
55
            alert( ERR_NO_RECORD_SELECTED );
54
            return false;
56
            return false;
Lines 72-78 $(document).ready(function() { Link Here
72
            return false;
74
            return false;
73
        }
75
        }
74
76
75
        return disableUnchecked($(this));
77
        disableUnchecked($(this.form));
78
79
        $(this.form).submit();
76
    });
80
    });
77
81
78
    $('#tabs').tabs();
82
    $('#tabs').tabs();
79
- 

Return to bug 25563