mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:08:33 +08:00
[PE][SSE] Fix updating tip for custom bullet
This commit is contained in:
@ -476,12 +476,12 @@ define([
|
||||
var me = this,
|
||||
view_el = $(view.el),
|
||||
tip = record.get('tip');
|
||||
if (tip) {
|
||||
if (tip!==undefined && tip!==null) {
|
||||
if (this.delayRenderTips)
|
||||
view_el.one('mouseenter', function(){ // hide tooltip when mouse is over menu
|
||||
view_el.attr('data-toggle', 'tooltip');
|
||||
view_el.tooltip({
|
||||
title : tip,
|
||||
title : record.get('tip'), // use actual tip, because it can be changed
|
||||
placement : 'cursor',
|
||||
zIndex : me.tipZIndex
|
||||
});
|
||||
@ -490,7 +490,7 @@ define([
|
||||
else {
|
||||
view_el.attr('data-toggle', 'tooltip');
|
||||
view_el.tooltip({
|
||||
title : tip,
|
||||
title : record.get('tip'), // use actual tip, because it can be changed
|
||||
placement : 'cursor',
|
||||
zIndex : me.tipZIndex
|
||||
});
|
||||
|
||||
@ -3801,6 +3801,7 @@ define([
|
||||
outerMenu: {menu: view.menuParagraphBullets.menu, index: 0},
|
||||
groups : view.paraBulletsPicker.groups,
|
||||
store : view.paraBulletsPicker.store,
|
||||
delayRenderTips: true,
|
||||
itemTemplate: _.template('<% if (type==0) { %>' +
|
||||
'<div id="<%= id %>" class="item-markerlist"></div>' +
|
||||
'<% } else if (type==1) { %>' +
|
||||
|
||||
Reference in New Issue
Block a user