[DE] Fix Bug 44342

This commit is contained in:
Julia Radzhabova 2020-03-31 21:12:03 +03:00
parent c79ecb7e0a
commit 0bbd7d4d56

View file

@ -4058,6 +4058,13 @@ define([
me.api.asc_UncheckContentControlButtons();
}
});
$(document).on('mousedown', function(e) {
if (e.target.localName !== 'canvas' && controlsContainer.is(':visible') && controlsContainer.find(e.target).length==0) {
controlsContainer.hide();
me.api.asc_UncheckContentControlButtons();
}
});
}
this.cmpCalendar.setDate(new Date(specProps ? specProps.get_FullDate() : undefined));