[DE] Fix smart arts
This commit is contained in:
parent
fdc0e5038d
commit
aa7e70eac2
|
@ -3343,7 +3343,6 @@ define([
|
|||
} else {
|
||||
menu.store.add(arr);
|
||||
}
|
||||
menu.onResetItems();
|
||||
menu.on('item:click', function(picker, item, record, e) {
|
||||
if (record) {
|
||||
me.api.asc_createSmartArt(record.get('value'));
|
||||
|
|
|
@ -2234,7 +2234,7 @@ define([
|
|||
});
|
||||
var onShowBeforeSmartArt = function (menu) { // + <% if(typeof imageUrl === "undefined" || imageUrl===null || imageUrl==="") { %> style="visibility: hidden;" <% } %>/>',
|
||||
me.btnInsertSmartArt.menu.items.forEach(function (item, index) {
|
||||
item.menuPicker = new Common.UI.DataViewSimple({
|
||||
item.menuPicker = new Common.UI.DataView({
|
||||
el: $('#' + item.value),
|
||||
parentMenu: me.btnInsertSmartArt.menu.items[index].menu,
|
||||
itemTemplate: _.template([
|
||||
|
|
Loading…
Reference in a new issue