mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
246ba45c52
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user