Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2024-03-30 13:15:12 +01:00
commit 246ba45c52
2 changed files with 6 additions and 2 deletions

View File

@ -187,8 +187,8 @@
this.$menu
.on('click', $.proxy(this.click, this))
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
.on('mouseleave', 'li', $.proxy(this.mouseleave, this))
.on('mouseenter', this.options.itemtag, $.proxy(this.mouseenter, this))
.on('mouseleave', this.options.itemtag, $.proxy(this.mouseleave, this))
}
, eventSupported: function(eventName) {
@ -316,6 +316,7 @@
, items: 8
, menu: '<ul class="typeahead dropdown-menu"></ul>'
, item: '<li><a href="#"></a></li>'
, itemtag: 'li'
, minLength: 1
}

View File

@ -95,6 +95,7 @@ function initMost() {
$("#searchfield").typeahead({ /* {{{ */
menu: '<div class="typeahead dropdown-menu" style="max-height: 500px; overflow-y: auto;"></div>',
item: '<a class="dropdown-item" href="#"></a>',
itemtag: 'a',
minLength: 3,
items: 100, /* the query will limit the number of hits */
source: function(query, process) {
@ -186,6 +187,7 @@ function initMost() {
$("[id^=choosedocsearch]").typeahead({ /* {{{ */
menu: '<div class="typeahead dropdown-menu"></div>',
item: '<a class="dropdown-item" href="#"></a>',
itemtag: 'a',
minLength: 3,
source: function(query, process) {
// console.log(this.options);
@ -237,6 +239,7 @@ function initMost() {
$("[id^=choosefoldersearch]").typeahead({ /* {{{ */
menu: '<div class="typeahead dropdown-menu"></div>',
item: '<a class="dropdown-item" href="#"></a>',
itemtag: 'a',
minLength: 3,
source: function(query, process) {
// console.log(this.options);