|
|
|
@ -38,16 +38,16 @@ $(document).ready(function() { |
|
|
|
|
$("#dialog-form").dialog({ |
|
|
|
|
autoOpen : false, |
|
|
|
|
modal : false, |
|
|
|
|
width : 580, |
|
|
|
|
height : 480, |
|
|
|
|
width : 600, |
|
|
|
|
height : 580, |
|
|
|
|
zIndex : 20000 // added because of qtip2 |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$("#simple-dialog-form").dialog({ |
|
|
|
|
autoOpen : false, |
|
|
|
|
modal : false, |
|
|
|
|
width : 580, |
|
|
|
|
height : 480, |
|
|
|
|
width : 600, |
|
|
|
|
height : 600, |
|
|
|
|
zIndex : 20000 // added because of qtip2 |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
@ -531,10 +531,20 @@ $(document).ready(function() { |
|
|
|
|
$("#calendar_session_info").html(''); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$("#comment_edit").html(calEvent.comment); |
|
|
|
|
if (calEvent.comment != '') { |
|
|
|
|
$("#comment_edit").html(calEvent.comment); |
|
|
|
|
$("#comment_edit").show(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (calEvent.attachment != '') { |
|
|
|
|
$("#attachment_text").html(calEvent.attachment); |
|
|
|
|
$("#attachment_block").show(); |
|
|
|
|
$("#attachment_text").show(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$("#title_edit").show(); |
|
|
|
|
$("#content_edit").show(); |
|
|
|
|
$("#comment_edit").show(); |
|
|
|
|
|
|
|
|
|
$("#title").hide(); |
|
|
|
|
$("#content").hide(); |
|
|
|
|
$("#comment").hide(); |
|
|
|
@ -659,6 +669,8 @@ $(document).ready(function() { |
|
|
|
|
$("#title_edit").hide(); |
|
|
|
|
$("#content_edit").hide(); |
|
|
|
|
$("#comment_edit").hide(); |
|
|
|
|
$("#attachment_block").hide(); |
|
|
|
|
$("#attachment_text").hide(); |
|
|
|
|
|
|
|
|
|
$("#title").show(); |
|
|
|
|
$("#content").show(); |
|
|
|
@ -667,6 +679,7 @@ $(document).ready(function() { |
|
|
|
|
$("#title_edit").html(''); |
|
|
|
|
$("#content_edit").html(''); |
|
|
|
|
$("#comment_edit").html(''); |
|
|
|
|
$("#attachment_text").html(''); |
|
|
|
|
|
|
|
|
|
$("#title").val(''); |
|
|
|
|
$("#content").val(''); |
|
|
|
@ -768,7 +781,7 @@ $(document).ready(function() { |
|
|
|
|
{{ toolbar }} |
|
|
|
|
|
|
|
|
|
<div id="simple-dialog-form" style="display:none;"> |
|
|
|
|
<div style="width:500px"> |
|
|
|
|
<div style="width:500px;"> |
|
|
|
|
<form name="form-simple" class="form-horizontal"> |
|
|
|
|
<span id="calendar_course_info_simple"></span> |
|
|
|
|
<span id="calendar_session_info"></span> |
|
|
|
|