mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix modify mail subject action's title
This commit is contained in:
parent
c59807d861
commit
74d6322414
@ -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('<a href="#" class= "et2_url_email_contactPlus" title="'+egw.lang('Edit')+'"><img src="'
|
||||
return jQuery('<a href="#" class= "et2_url_email_contactPlus" title="'+egw.lang(widget.options.hover_action_title)+'"><img src="'
|
||||
+egw.image("edit") +'"/></a>')
|
||||
.on('click', function() {
|
||||
widget.options.hover_action.call(self, self.widget, content);
|
||||
|
@ -19,7 +19,7 @@
|
||||
</hbox>
|
||||
<hbox id="mailPreviewHeadersSubject" class="mailPreviewHeaders">
|
||||
<description value="Subject"/>
|
||||
<description align="left" id="previewSubject" readonly="true" hover_action="app.mail.modifyMessageSubjectDialog"/>
|
||||
<description align="left" id="previewSubject" readonly="true" hover_action="app.mail.modifyMessageSubjectDialog" hover_action_title="Modify subject of this message"/>
|
||||
</hbox>
|
||||
<hbox id="mailPreviewHeadersDate" class="mailPreviewHeaders">
|
||||
<description value="Date"/>
|
||||
|
Loading…
Reference in New Issue
Block a user