mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:30:04 +01:00
Use framework tooltips for toolbar button tooltips instead of browser titles
Avoids Firefox actually changing the title text sometimes
This commit is contained in:
parent
d5cf6a600f
commit
590446a701
@ -493,10 +493,11 @@ var et2_toolbar = (function(){ "use strict"; return et2_DOMWidget.extend([et2_II
|
||||
var button = jQuery(document.createElement('button'))
|
||||
.addClass("et2_button et2_button_text et2_button_with_image")
|
||||
.attr('id', this.id+'-'+action.id)
|
||||
.attr('title', (action.hint ? action.hint : action.caption) + (action.shortcut ? ' ('+action.shortcut.caption+')' : ''))
|
||||
.attr('type', 'button')
|
||||
.appendTo(this.preference[action.id]?this.actionbox.children()[1]:jQuery('[data-group='+action.group+']',this.actionlist));
|
||||
|
||||
this.egw().tooltipBind(button, action.hint ? action.hint : action.caption) + (action.shortcut ? ' ('+action.shortcut.caption+')' : '');
|
||||
|
||||
if (action && action.checkbox)
|
||||
{
|
||||
if (action.data.toggle_on || action.data.toggle_off)
|
||||
|
@ -899,7 +899,7 @@ ul.et2_link_string {
|
||||
background-color: #FDF9DB;
|
||||
max-width: 300px;
|
||||
color: black;
|
||||
z-index: 102;
|
||||
z-index: 1002;
|
||||
-webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.75);
|
||||
-moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.75);
|
||||
box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.75);
|
||||
|
Loading…
Reference in New Issue
Block a user