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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-2 / +1 lines)
Lines 143-149 $( document ).ready(function() { Link Here
143
                    return new Promise(function(resolve, reject) {
143
                    return new Promise(function(resolve, reject) {
144
                        var threshold = $(self).data('threshold');
144
                        var threshold = $(self).data('threshold');
145
                        var help = $(self).parent().siblings('.help-block');
145
                        var help = $(self).parent().siblings('.help-block');
146
                        if(threshold == '' || threshold <= total) {
146
                        if(!threshold || threshold == '' || threshold <= total) {
147
                            $(self).prop('disabled', false);
147
                            $(self).prop('disabled', false);
148
                            help.addClass('hide');
148
                            help.addClass('hide');
149
                        } else {
149
                        } else {
150
- 

Return to bug 23868