[SSE] Bug 44812
This commit is contained in:
parent
ebbbbdcb7f
commit
13704362ad
|
@ -644,7 +644,7 @@ define([
|
||||||
} else {
|
} else {
|
||||||
$(this.el).find('ul').html(_.template([
|
$(this.el).find('ul').html(_.template([
|
||||||
'<% _.each(items, function(item) { %>',
|
'<% _.each(items, function(item) { %>',
|
||||||
'<li id="<%= item.id %>" data-value="<%= item.value %>"><a tabindex="-1" type="menuitem"><%= scope.getDisplayValue(item) %></a></li>',
|
'<li id="<%= item.id %>" data-value="<%- item.value %>"><a tabindex="-1" type="menuitem"><%= scope.getDisplayValue(item) %></a></li>',
|
||||||
'<% }); %>'
|
'<% }); %>'
|
||||||
].join(''))({
|
].join(''))({
|
||||||
items: this.store.toJSON(),
|
items: this.store.toJSON(),
|
||||||
|
|
|
@ -51,8 +51,8 @@ define([
|
||||||
this.active = false;
|
this.active = false;
|
||||||
this.label = 'Tab';
|
this.label = 'Tab';
|
||||||
this.cls = '';
|
this.cls = '';
|
||||||
this.template = _.template(['<li class="<% if(active){ %>active selected<% } %> <% if(cls.length){%><%= cls %><%}%>" data-label="<%= label %>">',
|
this.template = _.template(['<li class="<% if(active){ %>active selected<% } %> <% if(cls.length){%><%= cls %><%}%>" data-label="<%- label %>">',
|
||||||
'<a title="<%= label %>"><%- label %></a>',
|
'<a title="<%- label %>"><%- label %></a>',
|
||||||
'</li>'].join(''));
|
'</li>'].join(''));
|
||||||
|
|
||||||
this.initialize.call(this, opts);
|
this.initialize.call(this, opts);
|
||||||
|
|
|
@ -266,7 +266,7 @@ define([
|
||||||
(new SSE.Views.NameManagerDlg({
|
(new SSE.Views.NameManagerDlg({
|
||||||
api: this.api,
|
api: this.api,
|
||||||
handler: function(result) {
|
handler: function(result) {
|
||||||
Common.NotificationCenter.trigger('edit:complete', this.editor);
|
Common.NotificationCenter.trigger('edit:complete', me.editor);
|
||||||
},
|
},
|
||||||
locked: this.namedrange_locked,
|
locked: this.namedrange_locked,
|
||||||
sheets: items,
|
sheets: items,
|
||||||
|
|
|
@ -1042,7 +1042,7 @@ define([
|
||||||
linkstr = props.asc_getHyperlinkUrl() + '<br><b>' + me.textCtrlClick + '</b>';
|
linkstr = props.asc_getHyperlinkUrl() + '<br><b>' + me.textCtrlClick + '</b>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
linkstr = props.asc_getTooltip() || (props.asc_getLocation());
|
linkstr = Common.Utils.String.htmlEncode(props.asc_getTooltip() || (props.asc_getLocation()));
|
||||||
linkstr += '<br><b>' + me.textCtrlClick + '</b>';
|
linkstr += '<br><b>' + me.textCtrlClick + '</b>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue