projects
/
misc
/
hallinta-metro
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6128783
)
Open popup at same location like before
author
Joey Schulze
<joey@infodrom.org>
Thu, 4 Oct 2012 20:41:57 +0000
(22:41 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 4 Oct 2012 20:41:57 +0000
(22:41 +0200)
artikel.php
patch
|
blob
|
history
diff --git
a/artikel.php
b/artikel.php
index
ae3e870
..
d18a219
100644
(file)
--- 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('<strong>Verbinden</strong>',content,'auto','130px');
price_popup = new Rico.Popup(options, false, false);
price_popup.createWindow('<strong>Verbinden</strong>',content,'auto','130px');
- }
+
+ price_popup.openPopup(100,300);
+ } else
+ price_popup.openPopup();
price_popup.titleDiv.childNodes[0].innerHTML = 'Preis hinzufügen';
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;
var artikel = document.getElementById('form_artikel');
artikel.value = form_id.value;
- price_popup.openPopup(100,300);
-
var datum = document.getElementById('form_datum');
datum.activate();
}
var datum = document.getElementById('form_datum');
datum.activate();
}