Commit 5e69d0ef authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Fixed issue #31697

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68447 954022d7-b5bf-4e40-9824-e11837661b57
parent d21486c6
......@@ -308,7 +308,7 @@
CellEditor.prototype.close = function ( saveValue ) {
var opt = this.options, ret;
if ( saveValue && "function" === typeof opt.saveValueCallback ) {
if ( saveValue && "function" === typeof opt.saveValueCallback && 0 < this.undoList.length ) {
// Делаем замену текста на автодополнение, если есть select и текст полностью совпал.
if ( this.selectionBegin !== this.selectionEnd && !this.isFormula() ) {
var s = this._getFragmentsText( this.options.fragments );
......
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