From 4570588508aed2f760b376eac7ba3b2e5696c543 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 5 Nov 2013 13:33:32 +0000 Subject: [PATCH] Disable "recurrence_exception" row, including date and delete button, when there's no exception --- calendar/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/js/app.js b/calendar/js/app.js index fc149b0008..7bf0088d00 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -76,6 +76,7 @@ app.classes.calendar = AppJS.extend( { this.set_enddate_visibility(); this.check_recur_type(); + this.et2.getWidgetById('recur_exception').set_disabled(typeof content.data['recur_exception'][0] == 'undefined'); } else {