projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f2e741e
)
Revert "Ensure properly encoded popup title", fix PHP instead
author
Joey Schulze
<joey@infodrom.org>
Fri, 8 Nov 2019 22:11:52 +0000
(23:11 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 8 Nov 2019 22:11:52 +0000
(23:11 +0100)
This reverts commit
f2e741edf8ea135af100d0adb3a50bd7bf9f200a
.
src/Infodrom/calendar/index.wml
patch
|
blob
|
history
diff --git
a/src/Infodrom/calendar/index.wml
b/src/Infodrom/calendar/index.wml
index
c15d24d
..
7c63676
100644
(file)
--- a/
src/Infodrom/calendar/index.wml
+++ b/
src/Infodrom/calendar/index.wml
@@
-255,7
+255,6
@@
div.popup_body div#log div.row0
</select>
<protect><script type="text/javascript">
</select>
<protect><script type="text/javascript">
-var POPUP_TITLE_COMMENT = '<?php echo utf8_encode('Bemerkung hinzufügen'); ?>';
function menu_close()
{
$('div#menu').hide();
function menu_close()
{
$('div#menu').hide();
@@
-320,7
+319,7
@@
function add_comment()
'<textarea name="comment" style="width: 296px; height:65px;"></textarea>',
'<div style="text-align: center; margin-top: 5px;"><input type="submit" value="Speichern"></div>',
'</form>'];
'<textarea name="comment" style="width: 296px; height:65px;"></textarea>',
'<div style="text-align: center; margin-top: 5px;"><input type="submit" value="Speichern"></div>',
'</form>'];
- commentwindow = new Popup(
POPUP_TITLE_COMMENT
, '300px', false, html.join(''));
+ commentwindow = new Popup(
'Bemerkung hinzufügen'
, '300px', false, html.join(''));
commentwindow.centerPopup();
$('form#comment input[type="submit"]').click(function(e){
$.invoke('Calendar_Item/AddLog', $('form#comment').serialize(), function(data){
commentwindow.centerPopup();
$('form#comment input[type="submit"]').click(function(e){
$.invoke('Calendar_Item/AddLog', $('form#comment').serialize(), function(data){