</select>
<protect><script type="text/javascript">
+var POPUP_TITLE_COMMENT = '<?php echo utf8_encode('Bemerkung hinzufügen'); ?>';
function menu_close()
{
$('div#menu').hide();
'<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){