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 type="button" id="checkAform" 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 / +3 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
    $("#checkAform").on("click", function(){
52
        if ( $("input:checkbox[name='import_record_id']:checked").length < 1 ) {
52
        if ( $("input:checkbox[name='import_record_id']:checked").length < 1 ) {
53
            alert( ERR_NO_RECORD_SELECTED );
53
            alert( ERR_NO_RECORD_SELECTED );
54
            return false;
54
            return false;
Lines 72-78 $(document).ready(function() { Link Here
72
            return false;
72
            return false;
73
        }
73
        }
74
74
75
        return disableUnchecked($(this));
75
        disableUnchecked($(this));
76
        $("#Aform").submit();
76
    });
77
    });
77
78
78
    $('#tabs').tabs();
79
    $('#tabs').tabs();
79
- 

Return to bug 25563