From be331a38660a37861bd115e7fc543364e8dbb622 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 17 Oct 2012 08:49:55 -0400
Subject: [PATCH] Fixed: FS#2484 - sql error on mysql user selection

---
 interface/web/js/jquery.tipsy.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/js/jquery.tipsy.js b/interface/web/js/jquery.tipsy.js
index fb7bc36..e6f6600 100644
--- a/interface/web/js/jquery.tipsy.js
+++ b/interface/web/js/jquery.tipsy.js
@@ -260,7 +260,7 @@
                 .appendTo( wrapper )
                 .val( value )
                 .addClass( "ui-state-default ui-combobox-input" )
-                .css( { "width": elwidth - 15, "height": elheight })
+                .css( { "width": (elwidth > 15 ? elwidth - 15 : 1), "height": elheight })
                 .autocomplete({
                     delay: 0,
                     minLength: 0,

--
Gitblit v1.9.1