[DE] fix bug 58855
This commit is contained in:
parent
994a58c8b1
commit
dd465dc183
|
@ -199,13 +199,11 @@ define([
|
||||||
};
|
};
|
||||||
|
|
||||||
if ( !!titlebuttons ) {
|
if ( !!titlebuttons ) {
|
||||||
info.hints = {
|
info.hints = {};
|
||||||
'print': titlebuttons['print'].btn.btnEl.attr('data-hint-title'),
|
!!titlebuttons['print'] && (info.hints['print'] = titlebuttons['print'].btn.btnEl.attr('data-hint-title'));
|
||||||
// 'home': Common.UI.HintManager.getStaticHint('btnhome'),
|
!!titlebuttons['undo'] && (info.hints['undo'] = titlebuttons['undo'].btn.btnEl.attr('data-hint-title'));
|
||||||
'undo': titlebuttons['undo'].btn.btnEl.attr('data-hint-title'),
|
!!titlebuttons['redo'] && (info.hints['redo'] = titlebuttons['redo'].btn.btnEl.attr('data-hint-title'));
|
||||||
'redo': titlebuttons['redo'].btn.btnEl.attr('data-hint-title'),
|
!!titlebuttons['save'] && (info.hints['save'] = titlebuttons['save'].btn.btnEl.attr('data-hint-title'));
|
||||||
'save': titlebuttons['save'].btn.btnEl.attr('data-hint-title'),
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
native.execCommand('althints:show', JSON.stringify(info));
|
native.execCommand('althints:show', JSON.stringify(info));
|
||||||
|
|
Loading…
Reference in a new issue