fixed co author relation save button
This commit is contained in:
		
							parent
							
								
									764f83d58c
								
							
						
					
					
						commit
						44fede2b71
					
				| 
						 | 
				
			
			@ -40,7 +40,6 @@ class Panel::PersonalConference::Desktop::ConferenceCoAuthorRelationsController
 | 
			
		|||
    if @conference_co_author_relation.update_attributes(params[:conference_co_author_relation])
 | 
			
		||||
      @conference_co_author_relations = ConferenceCoAuthorRelation.all
 | 
			
		||||
      newv = render_to_string partial: "show_form", object: @conference_co_author_relations
 | 
			
		||||
      newv = '<div class="overview" content-layout="datalist" per-column="4" base-width="300">' + newv + '</div>'
 | 
			
		||||
      render json: {success: true, msg: t('update_success'), newvalue: newv}.to_json
 | 
			
		||||
    else
 | 
			
		||||
      error_msg = @conference_co_author.errors.full_messages.join("<br />")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,9 +15,7 @@
 | 
			
		|||
<!-- <div id="co_author_relation_table" class="tinycanvas vp">
 | 
			
		||||
  <div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
 | 
			
		||||
  <div class="viewport"> -->
 | 
			
		||||
    <div class="overview" content-layout="datalist" per-column="5" base-width="300" pagination-var="page">
 | 
			
		||||
      <%= render :partial => 'show_form'%>
 | 
			
		||||
    </div>
 | 
			
		||||
<!--   </div>
 | 
			
		||||
</div>
 | 
			
		||||
 -->
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue