From 0d0ad38ca680d3118d207b91df89f94d6029c2f7 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Wed, 17 Oct 2012 09:57:56 -0400
Subject: [PATCH] Bugfix: User (client) could not create website

---
 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