|
|
|
@ -1,8 +1,10 @@
|
|
|
|
|
<% if @journal_destroyed.nil? %>
|
|
|
|
|
alert('<%=l(:notice_failed_delete)%>');
|
|
|
|
|
<% elsif (['Principal','Project','Course', 'Bid', 'Contest', 'Softapplication'].include? @journal_destroyed.jour_type)%>
|
|
|
|
|
<% if @jours_count %>
|
|
|
|
|
<% if @bid && @@jours_count %>
|
|
|
|
|
$('#jours_count').html("<%= @jours_count %>");
|
|
|
|
|
<% elsif @course && @jours_count%>
|
|
|
|
|
$('#course_jour_count').html("(<%= @jours_count %>)");
|
|
|
|
|
<% end %>
|
|
|
|
|
var destroyedItem = $('#word_li_<%=@journal_destroyed.id%>')
|
|
|
|
|
destroyedItem.fadeOut(600,function(){
|
|
|
|
|