diff --git a/app/views/users/_user_homework_form.html.erb b/app/views/users/_user_homework_form.html.erb index ee5f9bf81..8c4ee6c37 100644 --- a/app/views/users/_user_homework_form.html.erb +++ b/app/views/users/_user_homework_form.html.erb @@ -208,6 +208,9 @@ edit.iframe.height(150); this.resize(null, Math.max((params.kindutil.IE ? body.scrollHeight : body.offsetHeight) , 150)); elocalStorage(homework_description_editor,'homework_<%=User.current.id %>'); + }, + afterFocus:function(){ + $(".xdsoft_datetimepicker").hide(); } }).loadPlugin('paste'); return editor;