commit
6c5f2b39d7
|
@ -644,7 +644,7 @@ define([
|
|||
} else {
|
||||
$(this.el).find('ul').html(_.template([
|
||||
'<% _.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(''))({
|
||||
items: this.store.toJSON(),
|
||||
|
|
|
@ -51,8 +51,8 @@ define([
|
|||
this.active = false;
|
||||
this.label = 'Tab';
|
||||
this.cls = '';
|
||||
this.template = _.template(['<li class="<% if(active){ %>active selected<% } %> <% if(cls.length){%><%= cls %><%}%>" data-label="<%= label %>">',
|
||||
'<a title="<%= label %>"><%- label %></a>',
|
||||
this.template = _.template(['<li class="<% if(active){ %>active selected<% } %> <% if(cls.length){%><%= cls %><%}%>" data-label="<%- label %>">',
|
||||
'<a title="<%- label %>"><%- label %></a>',
|
||||
'</li>'].join(''));
|
||||
|
||||
this.initialize.call(this, opts);
|
||||
|
|
|
@ -266,7 +266,7 @@ define([
|
|||
(new SSE.Views.NameManagerDlg({
|
||||
api: this.api,
|
||||
handler: function(result) {
|
||||
Common.NotificationCenter.trigger('edit:complete', this.editor);
|
||||
Common.NotificationCenter.trigger('edit:complete', me.editor);
|
||||
},
|
||||
locked: this.namedrange_locked,
|
||||
sheets: items,
|
||||
|
|
|
@ -1042,7 +1042,7 @@ define([
|
|||
linkstr = props.asc_getHyperlinkUrl() + '<br><b>' + me.textCtrlClick + '</b>';
|
||||
}
|
||||
} 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>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue