[PE] Fix double click in animation dialog

This commit is contained in:
Julia Radzhabova
2024-05-08 14:20:04 +03:00
parent f33719a3d0
commit 815f64fce6
2 changed files with 2 additions and 2 deletions

View File

@ -782,7 +782,7 @@ define([
}
},
onDblClickItem: function(view, record, e) {
onDblClickItem: function(view, record, e) { // item inner element must have css props: pointer-events: none;
if ( this.disabled ) return;
window._event = e; // for FireFox only

View File

@ -101,7 +101,7 @@ define([
groups: new Common.UI.DataViewGroupStore(),
style: 'max-height: 380px;',
itemTemplate: _.template([
'<div class = "btn_item x-huge" id = "<%= id %>" style = "width: ' + 88 + 'px;height: ' + 40 + 'px;">',
'<div class = "btn_item x-huge" id = "<%= id %>" style = "width: ' + 88 + 'px;height: ' + 40 + 'px; pointer-events:none;">',
'<div class = "icon <% if (iconCls) { %>' +'toolbar__icon' +'<% } %>' + ' <%= iconCls %>"></div>',
'<div class = "caption"><%= displayValue %></div>',
'</div>'