[SSE] Add tooltip for import data from xml

This commit is contained in:
Julia Radzhabova 2022-12-15 14:00:31 +03:00
parent cb0a41f8d6
commit 91b9b2ce0c

View file

@ -310,16 +310,17 @@ define([
me.btnDataFromText.updateHint(me.tipDataFromText); me.btnDataFromText.updateHint(me.tipDataFromText);
me.btnDataFromText.menu && me.btnDataFromText.setMenu(new Common.UI.Menu({ me.btnDataFromText.menu && me.btnDataFromText.setMenu(new Common.UI.Menu({
style: 'max-width: 300px;', // style: 'max-width: 300px;',
items: [ items: [
{ caption: me.mniFromFile, value: 'file' }, { caption: me.mniFromFile, value: 'file' },
{ caption: me.mniFromUrl, value: 'url' }, { caption: me.mniFromUrl, value: 'url' },
{ caption: '--'}, // { caption: '--'},
{ caption: me.mniFromXMLFile, { caption: me.mniFromXMLFile,
value: 'xml', value: 'xml',
description: me.mniFromXMLFileDesc, hint: me.mniFromXMLFileDesc
template:_.template('<a id="<%= id %>" tabindex="-1" type="menuitem"><div><%= caption %></div>' + // description: me.mniFromXMLFileDesc,
'<label style="display: block;color: #a5a5a5;cursor: pointer;white-space: normal;"><%= options.description %></label></a>') // template:_.template('<a id="<%= id %>" tabindex="-1" type="menuitem"><div><%= caption %></div>' +
// '<label style="display: block;color: #a5a5a5;cursor: pointer;white-space: normal;"><%= options.description %></label></a>')
} }
// { caption: me.mniImageFromStorage, value: 'storage'} // { caption: me.mniImageFromStorage, value: 'storage'}
] ]