r1549 - branches/bxe_2_0/plugins

[email protected] Wed, 18 Oct 2006 15:32:37 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Wed Oct 18 15:32:36 2006
New Revision: 1549

Modified:
   branches/bxe_2_0/plugins/ClipboardPasteDialog.js
Log:
 use i not 2 as index

Modified: branches/bxe_2_0/plugins/ClipboardPasteDialog.js
==============================================================================
--- branches/bxe_2_0/plugins/ClipboardPasteDialog.js	(original)
+++ branches/bxe_2_0/plugins/ClipboardPasteDialog.js	Wed Oct 18 15:32:36 2006
@@ -87,7 +87,7 @@
 			for (var i = 0; i < _l; i++) {
 				if (_o[i].text.substring(0,1).toLowerCase() == _char) {
 					_o[i].selected = true;
-					_e.selectedIndex = 2;
+					_e.selectedIndex = i;
 					event.stopPropagation();
 					event.returnValue = false;
 					event.preventDefault();
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs