Project

General

Profile

« Previous | Next » 

Revision 7a2a14b3

Added by Andreas Kohlbecker over 11 years ago

fixing #3217 (specimens: rename label type into 'Basis of record') and solving a lot of problems like recursive page loading du to a bug in ahah-content.js and type in cdm service call, ...

View differences:

7.x/modules/cdm_dataportal/js/cdm_dynabox.js
16 16
    var url = dynabox_content.attr('title');
17 17

  
18 18
    if(url !== undefined && url.length > 1){
19
      dynabox_content.removeAttr('title').find('.loading').css( 'display', 'block');
19
      dynabox_content.removeAttr('title').find('.loading').show();
20 20
      $.get(url, function(html){
21 21
        dynabox_content.find('.loading').remove().end().append(html);
22 22
      });
23 23
    }
24
  }
24
  };
25 25

  
26
  $('.dynabox').find('.dynabox_content').hide().click(function(event){event.stopPropagation();});
26
  $('.dynabox').find('.dynabox_content').click(function(event){event.stopPropagation();});
27 27

  
28 28
  $('.dynabox a.label').dblclick(loadDynaContent);
29 29
  $('.dynabox a.label').click(loadDynaContent);
30 30

  
31 31
    //$('li.dynabox> span').click(function(event){event.stopPropagation();});
32
}))(jQuery)
32
}))(jQuery);
33 33

  
34 34

  
35 35

  

Also available in: Unified diff