mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
fix layout of dropdown folder/document search
This commit is contained in:
parent
42cf1e9d05
commit
9644153d7b
|
@ -224,6 +224,8 @@ $(document).ready( function() {
|
||||||
|
|
||||||
/* Document chooser */
|
/* Document chooser */
|
||||||
$("[id^=choosedocsearch]").typeahead({ /* {{{ */
|
$("[id^=choosedocsearch]").typeahead({ /* {{{ */
|
||||||
|
menu: '<div class="typeahead dropdown-menu"></div>',
|
||||||
|
item: '<li><a class="dropdown-item" href="#"></a></li>',
|
||||||
minLength: 3,
|
minLength: 3,
|
||||||
source: function(query, process) {
|
source: function(query, process) {
|
||||||
// console.log(this.options);
|
// console.log(this.options);
|
||||||
|
@ -252,6 +254,8 @@ $(document).ready( function() {
|
||||||
|
|
||||||
/* Folder chooser */
|
/* Folder chooser */
|
||||||
$("[id^=choosefoldersearch]").typeahead({ /* {{{ */
|
$("[id^=choosefoldersearch]").typeahead({ /* {{{ */
|
||||||
|
menu: '<div class="typeahead dropdown-menu"></div>',
|
||||||
|
item: '<li><a class="dropdown-item" href="#"></a></li>',
|
||||||
minLength: 3,
|
minLength: 3,
|
||||||
source: function(query, process) {
|
source: function(query, process) {
|
||||||
// console.log(this.options);
|
// console.log(this.options);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user