forked from 0x2620/oxjs
some more bugfixes
This commit is contained in:
parent
ef1fa5fe84
commit
73fb2e3229
3 changed files with 10 additions and 9 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue