From 8d13e1982c2bee02f2ebf44670a76bc8cd9d140a Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Thu, 4 Oct 2012 22:41:57 +0200 Subject: [PATCH] Open popup at same location like before --- artikel.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/artikel.php b/artikel.php index ae3e870..d18a219 100644 --- a/artikel.php +++ b/artikel.php @@ -38,7 +38,10 @@ function price_popup_open() price_popup = new Rico.Popup(options, false, false); price_popup.createWindow('Verbinden',content,'auto','130px'); - } + + price_popup.openPopup(100,300); + } else + price_popup.openPopup(); price_popup.titleDiv.childNodes[0].innerHTML = 'Preis hinzufügen'; @@ -46,8 +49,6 @@ function price_popup_open() var artikel = document.getElementById('form_artikel'); artikel.value = form_id.value; - price_popup.openPopup(100,300); - var datum = document.getElementById('form_datum'); datum.activate(); } -- 2.11.0