|  | @@ -208,18 +208,15 @@
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  // Used for ajax update of fields by links in a pager.
 |  |  // Used for ajax update of fields by links in a pager.
 | 
											
												
													
														|  |  function tripal_navigate_field_pager(id, page) {
 |  |  function tripal_navigate_field_pager(id, page) {
 | 
											
												
													
														|  | -  jQuery(document).ajaxStart(function () {
 |  | 
 | 
											
												
													
														|  | -    jQuery('#' + id + '-spinner').show();
 |  | 
 | 
											
												
													
														|  | -  }).ajaxComplete(function () {
 |  | 
 | 
											
												
													
														|  | -    jQuery('#' + id + '-spinner').hide();
 |  | 
 | 
											
												
													
														|  | -  });
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +  jQuery('#' + id + '-spinner').show();
 | 
											
												
													
														|  |    jQuery.ajax({
 |  |    jQuery.ajax({
 | 
											
												
													
														|  |      type   : 'GET',
 |  |      type   : 'GET',
 | 
											
												
													
														|  |      url    : Drupal.settings['basePath'] + 'bio_data/ajax/field_attach/' + id,
 |  |      url    : Drupal.settings['basePath'] + 'bio_data/ajax/field_attach/' + id,
 | 
											
												
													
														|  |      data   : {'page': page},
 |  |      data   : {'page': page},
 | 
											
												
													
														|  |      success: function (response) {
 |  |      success: function (response) {
 | 
											
												
													
														|  |        jQuery('#' + id + ' .field-items').replaceWith(response['content']);
 |  |        jQuery('#' + id + ' .field-items').replaceWith(response['content']);
 | 
											
												
													
														|  | 
 |  | +      jQuery('#' + id + '-spinner').hide();
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    });
 |  |    });
 | 
											
												
													
														|  |  }
 |  |  }
 |