Commit 0448ac39 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Сделано, чтобы Ctrl+S отрабатывался в случае, когда своих изменений нет, а чужие есть.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60371 954022d7-b5bf-4e40-9824-e11837661b57
parent 2f577d85
......@@ -9823,7 +9823,7 @@ CDocument.prototype =
}
else if ( e.KeyCode == 83 && false === editor.isViewMode && true === e.CtrlKey ) // Ctrl + S - save
{
if (true === this.History.Have_Changes())
if (true === this.History.Have_Changes() || CollaborativeEditing.m_aChanges.length > 0)
{
this.DrawingDocument.m_oWordControl.m_oApi.asc_Save();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment