From: Thyamad c. <th...@us...> - 2005-10-13 18:17:40
|
Update of /cvsroot/thyapi/thyapi/thywidgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20891/thywidgets Modified Files: thygridrow.js Log Message: Commiting file additions and modification from SVN revision 2098 to 2099... Changes made by vinicius on 2005-10-13 20:44:52 +0200 (Thu, 13 Oct 2005) corresponding to SVN revision 2099 with message: Grid Row commited... Index: thygridrow.js =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/thygridrow.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** thygridrow.js 1 Sep 2005 18:15:38 -0000 1.1 --- thygridrow.js 13 Oct 2005 18:17:26 -0000 1.2 *************** *** 372,375 **** --- 372,380 ---- p.selectOnly = function () { + if (this.isSelected()) + { + return; + } + this.selected = true; var i,cell,nCells = this.cells.getElementsCount(); *************** *** 392,395 **** --- 397,405 ---- p.select = function () { + if (this.isSelected()) + { + return; + } + this.selectOnly(); *************** *** 410,413 **** --- 420,428 ---- p.unselectOnly = function () { + if (!this.isSelected()) + { + return; + } + this.selected = false; var i,cell,nCells = this.cells.getElementsCount(); *************** *** 430,433 **** --- 445,453 ---- p.unselect = function () { + if (!this.isSelected()) + { + return; + } + this.unselectOnly(); |