Fix add participants does not work with multiple items in calendar edit

This commit is contained in:
Hadi Nategh 2016-04-27 10:36:59 +00:00
parent 07a5224025
commit 9188e9a0f4

View File

@ -1128,7 +1128,7 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
var add = this.et2.getWidgetById('add');
var participant = this.et2.getWidgetById('participant');
add.set_readonly(!Number(participant.get_value()));
add.set_readonly(participant.get_value().length <= 0);
},
/**