Commit 24ec1b44 authored by Oleg.Korshul's avatar Oleg.Korshul

undo/redo

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57743 954022d7-b5bf-4e40-9824-e11837661b57
parent cf109e1b
...@@ -447,6 +447,16 @@ asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params) ...@@ -447,6 +447,16 @@ asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params)
this.WordControl.m_oLogicDocument.Document_UpdateInterfaceState(); this.WordControl.m_oLogicDocument.Document_UpdateInterfaceState();
break; break;
} }
case 3: // ASC_MENU_EVENT_TYPE_UNDO
{
this.WordControl.m_oLogicDocument.Document_Undo();
break;
}
case 4: // ASC_MENU_EVENT_TYPE_REDO
{
this.WordControl.m_oLogicDocument.Document_Redo();
break;
}
default: default:
break; break;
} }
......
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