info view: after doubleclick, remove text selection

This commit is contained in:
rolux 2014-10-01 15:12:23 +00:00
parent 9da3310608
commit 83c1ca111f

View file

@ -431,6 +431,13 @@ pandora.ui.infoView = function(data) {
}
}, key == 'groups' ? {
doubleclick: function() {
setTimeout(function() {
if (window.getSelection) {
window.getSelection().removeAllRanges();
} else if (document.selection) {
document.selection.empty();
}
});
pandora.$ui.groupsDialog = pandora.ui.groupsDialog({
id: data.id,
name: data.title,