Commit 08db11e6 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix: Bug 30210 - [NamedRanges] Не выделяется имя заданного диапазона в...

fix: Bug 30210 - [NamedRanges] Не выделяется имя заданного диапазона в адресной строке (http://bugzserver/show_bug.cgi?id=30210)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64751 954022d7-b5bf-4e40-9824-e11837661b57
parent f178e15e
...@@ -1974,7 +1974,12 @@ ...@@ -1974,7 +1974,12 @@
return; return;
var ws = this.getWorksheet(), var ws = this.getWorksheet(),
t = this t = this,
selectNameChange = function(){
var ws = t.getWorksheet();
ws.changeSelectionDone();
t._onSelectionNameChanged(ws.getSelectionName(/*bRangeText*/false));
};
if( oldName ){ if( oldName ){
...@@ -1983,6 +1988,7 @@ ...@@ -1983,6 +1988,7 @@
t.model.editDefinesNames(oldName, newName); t.model.editDefinesNames(oldName, newName);
t.handlers.trigger("asc_onEditDefName", oldName, newName); t.handlers.trigger("asc_onEditDefName", oldName, newName);
t.handlers.trigger("asc_onRefreshDefNameList"); t.handlers.trigger("asc_onRefreshDefNameList");
selectNameChange();
} }
}; };
var defNameId = t.model.getDefinedName(oldName).nodeId; var defNameId = t.model.getDefinedName(oldName).nodeId;
...@@ -1993,6 +1999,7 @@ ...@@ -1993,6 +1999,7 @@
else{ else{
this.handlers.trigger("asc_onDefName", this.model.editDefinesNames(oldName, newName)); this.handlers.trigger("asc_onDefName", this.model.editDefinesNames(oldName, newName));
this.handlers.trigger("asc_onRefreshDefNameList"); this.handlers.trigger("asc_onRefreshDefNameList");
selectNameChange();
} }
}; };
......
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