mirror of
https://github.com/friendica/friendica
synced 2024-12-23 11:20:15 +00:00
Merge pull request #8992 from MrPetovan/bug/8941-bookmarklet-autocomplete
Enable autocomplete in Bookmarklet
This commit is contained in:
commit
6f84b13e2a
3 changed files with 10 additions and 6 deletions
|
@ -293,7 +293,7 @@ function string2bb(element) {
|
|||
};
|
||||
|
||||
this.attr('autocomplete','off');
|
||||
this.textcomplete([contacts, forums, smilies, tags], {className:'acpopup', zIndex:10000});
|
||||
this.textcomplete([contacts, forums, smilies, tags], {dropdown: {className:'acpopup'}});
|
||||
this.fixTextcompleteEscape();
|
||||
|
||||
return this;
|
||||
|
@ -328,7 +328,7 @@ function string2bb(element) {
|
|||
};
|
||||
|
||||
this.attr('autocomplete', 'off');
|
||||
this.textcomplete([contacts, community, tags], {className:'acpopup', maxCount:100, zIndex: 10000, appendTo:'nav'});
|
||||
this.textcomplete([contacts, community, tags], {dropdown: {className:'acpopup', maxCount:100}});
|
||||
this.fixTextcompleteEscape();
|
||||
this.on('textComplete:select', function(e, value, strategy) { submit_form(this); });
|
||||
|
||||
|
@ -349,7 +349,7 @@ function string2bb(element) {
|
|||
};
|
||||
|
||||
this.attr('autocomplete','off');
|
||||
this.textcomplete([names], {className:'acpopup', zIndex:10000});
|
||||
this.textcomplete([names], {dropdown: {className:'acpopup'}});
|
||||
this.fixTextcompleteEscape();
|
||||
|
||||
if(autosubmit) {
|
||||
|
@ -399,7 +399,7 @@ function string2bb(element) {
|
|||
};
|
||||
|
||||
this.attr('autocomplete','off');
|
||||
this.textcomplete([bbco], {className:'acpopup', zIndex:10000});
|
||||
this.textcomplete([bbco], {dropdown: {className:'acpopup'}});
|
||||
this.fixTextcompleteEscape();
|
||||
|
||||
this.on('textComplete:select', function(e, value, strategy) { value; });
|
||||
|
|
|
@ -7,7 +7,9 @@
|
|||
</head>
|
||||
<body class="minimal">
|
||||
<section><?php if(!empty($page['content'])) echo $page['content']; ?>
|
||||
<div id="page-footer"></div>
|
||||
<div id="page-footer">
|
||||
<?php echo $page['footer'] ?? ''; ?>
|
||||
</div>
|
||||
</section>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
<div class="generic-page-wrapper">
|
||||
<?php if(!empty($page['content'])) echo $page['content']; ?>
|
||||
</div>
|
||||
<div id="page-footer"></div>
|
||||
<div id="page-footer">
|
||||
<?php echo $page['footer'] ?? ''; ?>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Modal -->
|
||||
<div id="modal" class="modal fade" tabindex="-1" role="dialog">
|
||||
|
|
Loading…
Reference in a new issue