mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 03:03:52 +08:00
[PE] Fix double click in animation dialog
This commit is contained in:
@ -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
|
||||
|
||||
@ -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>'
|
||||
|
||||
Reference in New Issue
Block a user