diff --git a/api/js/etemplate/et2_widget_description.js b/api/js/etemplate/et2_widget_description.js index b2ded1fa79..83cfa4f299 100644 --- a/api/js/etemplate/et2_widget_description.js +++ b/api/js/etemplate/et2_widget_description.js @@ -99,6 +99,12 @@ var et2_description = (function(){ "use strict"; return expose(et2_baseWidget.ex "type": "js", "default": et2_no_init, "description": "JS code which is executed when clicking on action button. This action is explicitly for attached nodes, like in nm." + }, + hover_action_title: { + "name": "hover action title", + "type": "string", + "default": "Edit", + "description": "Text to show as tooltip of defined action" } }, @@ -383,7 +389,7 @@ var et2_description = (function(){ "use strict"; return expose(et2_baseWidget.ex tooltipClass: "et2_email_popup", content: function() { - return jQuery('') .on('click', function() { widget.options.hover_action.call(self, self.widget, content); diff --git a/mail/templates/default/index.xet b/mail/templates/default/index.xet index 5a83f1417b..6554c3c83e 100644 --- a/mail/templates/default/index.xet +++ b/mail/templates/default/index.xet @@ -19,7 +19,7 @@ - +