fix context menu bug on afx-apps-dock

This commit is contained in:
lxsang
2018-09-12 21:50:16 +02:00
parent 205a3c0d5b
commit 7659438138
17 changed files with 1 additions and 1 deletions

0
src/core/languages/gen.sh Executable file → Normal file
View File

View File

@ -63,7 +63,7 @@
self.root.contextmenuHandler = function(e, m)
{
if(e.target == self.root) return;
var appidx = $(e.target).parent().attr("appindex")
var appidx = $(e.target).closest( "afx-button" ).attr("appindex")
var app = self.items[appidx].app
m.set("items", [
{ text: "__(Show)", dataid:"show" },