Project

General

Profile

0001-templates-disable-previous-next-meetings-buttons-on-.patch

Frédéric Péters, 17 Sep 2019 08:17 AM

Download (1.06 KB)

View differences:

Subject: [PATCH] templates: disable previous/next meetings buttons on edges
 (#36003)

 templates/qommon/forms/widgets/select--meetings.html | 10 ++++++++++
 1 file changed, 10 insertions(+)
templates/qommon/forms/widgets/select--meetings.html
69 69
        $(elem).hide();
70 70
      }
71 71
    });
72
    if (go_prev.next().is(':visible')) {
73
      go_prev.prop('disabled', true);
74
    } else {
75
      go_prev.prop('disabled', null);
76
    }
77
    if (go_next.prev().is(':visible')) {
78
      go_next.prop('disabled', true);
79
    } else {
80
      go_next.prop('disabled', null);
81
    }
72 82
    current_offset = offset;
73 83
  }
74 84
  display(current_offset);
75
-