Fix positioning of KNL.
authorJan Schneider <jan@horde.org>
Tue, 22 Jun 2010 15:34:07 +0000 (17:34 +0200)
committerJan Schneider <jan@horde.org>
Tue, 22 Jun 2010 15:36:34 +0000 (17:36 +0200)
horde/js/prettyautocomplete.js

index bb9d96c..60b93fc 100644 (file)
@@ -119,7 +119,7 @@ var PrettyAutocompleter = Class.create({
     buildStructure: function()
     {
         // Build the outter box
-        var box = new Element('div', { id: this.p.box, className: this.p.boxClass });
+        var box = new Element('div', { id: this.p.box, className: this.p.boxClass }).setStyle({ position: 'relative' });
 
         // The list - where the choosen items are placed as <li> nodes
         var list = new Element('ul', { className: this.p.listClass });