Document upload does not work in the Day view on the first attempt

Task #8974

 

Entry always had to be saved first and then reopened.

This trouble has been eliminated.