Commit addc7225 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Сделана проверка есть ли изменения, при нажатии Ctrl+S.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60370 954022d7-b5bf-4e40-9824-e11837661b57
parent 0a6bdcc6
......@@ -9823,7 +9823,10 @@ CDocument.prototype =
}
else if ( e.KeyCode == 83 && false === editor.isViewMode && true === e.CtrlKey ) // Ctrl + S - save
{
this.DrawingDocument.m_oWordControl.m_oApi.asc_Save();
if (true === this.History.Have_Changes())
{
this.DrawingDocument.m_oWordControl.m_oApi.asc_Save();
}
bRetValue = true;
}
else if ( e.KeyCode == 85 && false === editor.isViewMode && true === e.CtrlKey ) // Ctrl + U - делаем текст подчеркнутым
......
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