Update of /cvsroot/thyapi/thyapi/thywidgets
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17216/thywidgets
Modified Files:
thydropdownbox.js
Log Message:
Commiting file additions and modification from SVN revision 1931 to 1932...
Changes made by rpereira on 2005-09-11 04:36:09 +0200 (Sun, 11 Sep 2005) corresponding to SVN revision 1932 with message:
- DynKeyEvent was being called before complete definition. Corrected
- If no options inside thyDropDownBox, don't try to show list
Index: thydropdownbox.js
===================================================================
RCS file: /cvsroot/thyapi/thyapi/thywidgets/thydropdownbox.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** thydropdownbox.js 8 Sep 2005 14:59:41 -0000 1.2
--- thydropdownbox.js 11 Sep 2005 02:20:27 -0000 1.3
***************
*** 615,618 ****
--- 615,621 ----
// Step 1: Select actual selected row \\
var row = this.dropList.getRowElement(this.dropSelected);
+
+ if (!row) return;
+
row.selectOnly();
|