Commit 398efbdc authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete spellCheck unused code

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62437 954022d7-b5bf-4e40-9824-e11837661b57
parent b0f5b5a0
...@@ -6988,40 +6988,6 @@ function _onSpellCheck_Callback2 (response) ...@@ -6988,40 +6988,6 @@ function _onSpellCheck_Callback2 (response)
SpellCheck_CallBack(incomeObject); SpellCheck_CallBack(incomeObject);
} }
/*function spellCheck (editor, fCallback, rdata){
asc_ajax({
type: 'POST',
url: g_sSpellCheckServiceLocalUrl,
data: rdata,
error: function(jqXHR, textStatus, errorThrown){
editor.asc_fireCallback("asc_onError",c_oAscError.ID.Unknown,c_oAscError.Level.Critical);
if(fCallback)
fCallback();
},
success: function(msg){
var incomeObject = JSON.parse(msg);
switch(incomeObject.type){
case "spell":
if(fCallback)
fCallback(incomeObject);
break;
case "synonym":
if(fCallback)
fCallback(incomeObject);
break;
case "suggest":
if(fCallback)
fCallback(incomeObject);
break;
case "err":
editor.asc_fireCallback("asc_onError", _mapAscServerErrorToAscError(parseInt(incomeObject.data)), c_oAscError.Level.Critical);
if(fCallback)
fCallback(incomeObject);
break;
}
}
})
};*/
function sendCommand(editor, fCallback, rdata){ function sendCommand(editor, fCallback, rdata){
var sData; var sData;
var sRequestContentType = "application/json"; var sRequestContentType = "application/json";
......
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