1
0
Fork 0
forked from 0x2620/oxjs

some more bugfixes

This commit is contained in:
rlx 2011-09-17 13:05:16 +00:00
commit 73fb2e3229
3 changed files with 10 additions and 9 deletions

View file

@ -846,14 +846,14 @@ Ox.List = function(options, self) {
clickable, editable;
//alert('singleclick')
if (pos > -1) {
if (!e.metaKey && !e.shiftKey && isSelected(pos)) {
if (!data.metaKey && !data.shiftKey && isSelected(pos)) {
//alert('??')
if (self.selected.length > 1) {
// click on one of multiple selected items
//alert('!!')
select(pos);
} else if (self.options.type == 'text' && self.hadFocus) {
$cell = findCell(e);
$cell = findCell(data);
if ($cell) {
clickable = $cell.is('.OxClickable');
editable = $cell.is('.OxEditable') && !$cell.is('.OxEdit');