Commit d039a832 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил выделение для бага http://bugzserver/show_bug.cgi?id=14365

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57685 954022d7-b5bf-4e40-9824-e11837661b57
parent 52e952c3
......@@ -198,6 +198,9 @@
this.r2 = r2;
return normalize ? this.normalize() : this;
},
assign2: function (range) {
return this.assign(range.c1, range.r1, range.c2, range.r2);
},
clone: function (normalize) {
var oRes = new Range(this.c1, this.r1, this.c2, this.r2, normalize);
......@@ -397,6 +400,11 @@
this._updateAdditionalData();
return this;
};
ActiveRange.prototype.assign2 = function () {
ActiveRange.superclass.assign2.apply(this, arguments);
this._updateAdditionalData();
return this;
};
ActiveRange.prototype.clone = function(){
var oRes = new ActiveRange(ActiveRange.superclass.clone.apply(this, arguments));
oRes.type = this.type;
......
......@@ -7512,9 +7512,10 @@
if (range.promote(/*bCtrl*/ctrlPress, /*bVertical*/(1 === t.fillHandleDirection), nIndex)) {
// Вызываем функцию пересчета для заголовков форматированной таблицы
t.autoFilters._renameTableColumn(arn);
}
else
t.handlers.trigger("onErrorEvent", c_oAscError.ID.CannotFillRange, c_oAscError.Level.NoCritical);
} else {
t.handlers.trigger("onErrorEvent", c_oAscError.ID.CannotFillRange, c_oAscError.Level.NoCritical);
t.activeRange.assign2(range.bbox);
}
}
// Сбрасываем параметры автозаполнения
......
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