Commit 8fbe20bc authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

выдаю ошибку при попытке добавить а/ф в некорректный диапазон

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50661 954022d7-b5bf-4e40-9824-e11837661b57
parent 98be6382
......@@ -686,7 +686,7 @@
//при добавлении общего фильтра проверка на пустой диапазон
if(paramsForCallBackAdd == "addAutoFilterOneCell" && t._isEmptyRange(activeCells))
{
//TODO add alert error
ws.model.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterDataRangeError, c_oAscError.Level.NoCritical);
return;
};
result = [];
......@@ -753,7 +753,7 @@
}
else
{
ws._trigger ("onError", c_oAscError.ID.AutoFilterDataRangeError, c_oAscError.Level.NoCritical);
ws.model.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterDataRangeError, c_oAscError.Level.NoCritical);
History.EndTransaction();
return false;
}
......@@ -766,7 +766,7 @@
//при добавлении общего фильтра проверка на пустой диапазон
if(paramsForCallBackAdd == "addAutoFilterManyCells" && t._isEmptyRange(activeCells))
{
//TODO add alert error
ws.model.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterDataRangeError, c_oAscError.Level.NoCritical);
return;
};
var n = 0;
......@@ -878,7 +878,7 @@
var changesElemHistory = null;
if(apocal == 'error')
{
ws._trigger ("onError", c_oAscError.ID.AutoFilterDataRangeError, c_oAscError.Level.NoCritical);
ws.model.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterDataRangeError, c_oAscError.Level.NoCritical);
return false;
}
else if(apocal && apocal.changeStyle)
......
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