@@ -940,6 +940,7 @@
todayHighlight: true,
format: 'yyyy-mm-dd',
onSelect: function(_date) {
+ if(!self.currentCategory) self.currentCategory = 'other';
self[self.currentCategory + 'PopupItem'].data.due_date = $(this).val();
self[self.currentCategory + 'SavePopupItem'].call(self, true);
}