Skip to content

Commit

Permalink
Existence check.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Mar 8, 2016
1 parent b9542a2 commit 01ae34b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kronolith/js/kronolith.js
Expand Up @@ -3314,6 +3314,9 @@ KronolithCore = {
*/
updateResourcegroupSelect: function()
{
if (!Kronolith.conf.calendars.resource) {
return;
}
$('kronolithCalendarresourcegroupmembers').update();
$H(Kronolith.conf.calendars.resource).each(function(r) {
var o = new Element('option', { value: r.value.id }).update(r.value.name);
Expand Down

0 comments on commit 01ae34b

Please sign in to comment.