forked from 0x2620/pandora
fix a bug that would prevent enter-to-edit from working in names and titles dialogs
This commit is contained in:
parent
4812870a30
commit
4aeb3ba180
2 changed files with 4 additions and 2 deletions
|
@ -86,7 +86,8 @@ pandora.ui.namesDialog = function() {
|
|||
open: function(data) {
|
||||
$list.$element
|
||||
.find('.OxItem.OxSelected > .OxCell.OxColumnSortname')
|
||||
.trigger('mousedown');
|
||||
.trigger('mousedown')
|
||||
.trigger('mouseup');
|
||||
},
|
||||
select: function(data) {
|
||||
$findButton.options({disabled: !data.ids.length});
|
||||
|
|
|
@ -75,7 +75,8 @@ pandora.ui.titlesDialog = function() {
|
|||
open: function(data) {
|
||||
$list.$element
|
||||
.find('.OxItem.OxSelected > .OxCell.OxColumnSorttitle')
|
||||
.trigger('mousedown');
|
||||
.trigger('mousedown')
|
||||
.trigger('mouseup');
|
||||
},
|
||||
select: function(data) {
|
||||
$findButton.options({disabled: !data.ids.length});
|
||||
|
|
Loading…
Reference in a new issue