diff --git a/apps/common/main/lib/component/DataView.js b/apps/common/main/lib/component/DataView.js
index 86db1a9a79..6740c46d56 100644
--- a/apps/common/main/lib/component/DataView.js
+++ b/apps/common/main/lib/component/DataView.js
@@ -299,7 +299,8 @@ define([
this.cmpEl = $(this.template({
groups: me.groups ? me.groups.toJSON() : null,
style: me.style,
- cls: me.cls
+ cls: me.cls,
+ options: me.options
}));
parentEl.html(this.cmpEl);
@@ -308,7 +309,8 @@ define([
this.cmpEl.html(this.template({
groups: me.groups ? me.groups.toJSON() : null,
style: me.style,
- cls: me.cls
+ cls: me.cls,
+ options: me.options
}));
}
@@ -506,7 +508,8 @@ define([
$(this.el).html(this.template({
groups: this.groups ? this.groups.toJSON() : null,
style: this.style,
- cls: this.cls
+ cls: this.cls,
+ options: this.options
}));
if (!_.isUndefined(this.scroller)) {
diff --git a/apps/common/main/lib/component/HintManager.js b/apps/common/main/lib/component/HintManager.js
index dbe0c4e3b1..0eab7c6e60 100644
--- a/apps/common/main/lib/component/HintManager.js
+++ b/apps/common/main/lib/component/HintManager.js
@@ -500,6 +500,10 @@ Common.UI.HintManager = new(function() {
curr.trigger(jQuery.Event('click', {which: 1}));
curr.focus();
_resetToDefault();
+ } else if (curr.hasClass('listview')) {
+ _hideHints();
+ curr.focus();
+ _resetToDefault();
} else {
_isComplete = false;
_hideHints();
diff --git a/apps/common/main/lib/component/ListView.js b/apps/common/main/lib/component/ListView.js
index 67b3824bab..f796d38bbd 100644
--- a/apps/common/main/lib/component/ListView.js
+++ b/apps/common/main/lib/component/ListView.js
@@ -59,7 +59,7 @@ define([
},
template: _.template([
- '
'
+ ' data-hint="<%= options.dataHint %>" <% } if (options.dataHintDirection) { %> data-hint-direction="<%= options.dataHintDirection %>" <% } if (options.dataHintOffset) { %> data-hint-offset="<%= options.dataHintOffset %>" <% } %>>
'
].join('')),
onResetItems : function() {
diff --git a/apps/spreadsheeteditor/main/app/template/LeftMenu.template b/apps/spreadsheeteditor/main/app/template/LeftMenu.template
index c11a45dace..b8da605c19 100644
--- a/apps/spreadsheeteditor/main/app/template/LeftMenu.template
+++ b/apps/spreadsheeteditor/main/app/template/LeftMenu.template
@@ -6,7 +6,7 @@
-
+
diff --git a/apps/spreadsheeteditor/main/app/view/Spellcheck.js b/apps/spreadsheeteditor/main/app/view/Spellcheck.js
index 0264df3288..f5486fa583 100644
--- a/apps/spreadsheeteditor/main/app/view/Spellcheck.js
+++ b/apps/spreadsheeteditor/main/app/view/Spellcheck.js
@@ -60,7 +60,7 @@ define([
'',
'',
'',
- '',
+ '',
'',
'',
'',
@@ -84,7 +84,10 @@ define([
el : $('#spellcheck-current-word'),
allowBlank : true,
validateOnBlur: false,
- disabled: true
+ disabled: true,
+ dataHint: '1',
+ dataHintDirection: 'left',
+ dataHintOffset: 'big'
});
this.buttonNext = new Common.UI.Button({
@@ -92,14 +95,19 @@ define([
style: 'margin-left: 5px;',
cls: 'btn-toolbar bg-white',
iconCls: 'toolbar__icon btn-nextitem',
- hint: this.txtNextTip
+ hint: this.txtNextTip,
+ dataHint: '1',
+ dataHintDirection: 'top'
});
this.suggestionList = new Common.UI.ListView({
el: $('#spellcheck-suggestions-list'),
emptyText: this.noSuggestions,
store: new Common.UI.DataViewStore(),
- scrollAlwaysVisible: true
+ scrollAlwaysVisible: true,
+ dataHint: '1',
+ dataHintDirection: 'left',
+ dataHintOffset: 'big'
});
this.btnChange = new Common.UI.Button({
@@ -121,7 +129,10 @@ define([
value: 1
}
]
- })
+ }),
+ dataHint: '1',
+ dataHintDirection: 'bottom',
+ dataHintOffset: 'big'
});
this.btnIgnore = new Common.UI.Button({
@@ -143,7 +154,10 @@ define([
value: 1
}
]
- })
+ }),
+ dataHint: '1',
+ dataHintDirection: 'bottom',
+ dataHintOffset: 'big'
});
this.cmbDictionaryLanguage = new Common.UI.ComboBox({
@@ -155,7 +169,10 @@ define([
scroller : {
suppressScrollX: true
},
- search: true
+ search: true,
+ dataHint: '1',
+ dataHintDirection: 'bottom',
+ dataHintOffset: 'big'
});
this.btnToDictionary = new Common.UI.Button({