fix a bug that would prevent enter-to-edit from working in names and titles dialogs

This commit is contained in:
rolux 2011-11-08 18:16:48 +00:00
parent 4812870a30
commit 4aeb3ba180
2 changed files with 4 additions and 2 deletions

View file

@ -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});

View file

@ -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});