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:
ba5db2c
)
Ensure properly encoded popup title
author
Joey Schulze
<joey@infodrom.org>
Fri, 8 Nov 2019 21:17:19 +0000
(22:17 +0100)
committer
Joey Schulze
<joey@infodrom.org>
Fri, 8 Nov 2019 21:17:19 +0000
(22:17 +0100)
src/Infodrom/calendar/index.wml
patch
|
blob
|
history
diff --git
a/src/Infodrom/calendar/index.wml
b/src/Infodrom/calendar/index.wml
index
7c63676
..
c15d24d
100644
(file)
--- a/
src/Infodrom/calendar/index.wml
+++ b/
src/Infodrom/calendar/index.wml
@@
-255,6
+255,7
@@
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();
@@
-319,7
+320,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(
'Bemerkung hinzufügen'
, '300px', false, html.join(''));
+ commentwindow = new Popup(
POPUP_TITLE_COMMENT
, '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){