mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Fix partial HTML broke label in context menu Copy "..." action
This commit is contained in:
parent
c580dcb64f
commit
ed01dfad0a
@ -743,7 +743,7 @@ function egwPopupActionImplementation()
|
||||
},true);
|
||||
clipboard_action.group = 2.5;
|
||||
}
|
||||
var os_clipboard_caption = this._context.event.originalEvent.target.innerHTML.trim();
|
||||
var os_clipboard_caption = this._context.event.originalEvent.target.innerText.trim();
|
||||
clipboard_action.set_caption(egw.lang('Copy "%1"', os_clipboard_caption.length>20 ? os_clipboard_caption.substring(0,20)+'...':os_clipboard_caption));
|
||||
clipboard_action.data.target = this._context.event.originalEvent.target;
|
||||
jQuery(clipboard_action.data.target).off('copy').on('copy', function(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user