Commit 2b5ecee2 authored by Alexander.Trofimov's avatar Alexander.Trofimov

refactoring

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57937 954022d7-b5bf-4e40-9824-e11837661b57
parent ead992bd
......@@ -78,8 +78,6 @@
* @param {Object} settings
*/
function CellEditor(elem, input, fmgrGraphics, oFont, handlers, settings) {
if ( !(this instanceof CellEditor) ) {return new CellEditor(elem, input, fmgrGraphics, oFont, handlers, settings);}
this.element = elem;
this.input = input;
this.handlers = new asc_HL(handlers);
......
......@@ -21,7 +21,6 @@
var asc_applyFunction = asc.applyFunction;
var asc_round = asc.round;
var asc_typeof = asc.typeOf;
var asc_CE = asc.CellEditor;
var asc_CMM = asc.asc_CMouseMoveData;
var asc_CPrintPagesData = asc.CPrintPagesData;
var asc_getcvt = asc.getCvtRatio;
......@@ -357,7 +356,7 @@
}, false);
}
this.cellEditor = new asc_CE(this.element, this.input, this.fmgrGraphics, this.m_oFont,
this.cellEditor = new asc.CellEditor(this.element, this.input, this.fmgrGraphics, this.m_oFont,
/*handlers*/{
"closed" : function () {self._onCloseCellEditor.apply(self, arguments);},
"updated" : function () {self._onUpdateCellEditor.apply(self, arguments);},
......
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