Blame view

framework/admin/javascript/MemberDatetimeOptionsetField.js 398 Bytes
70f4f18b   Administrator   first_commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  (function($) {
  	$.entwine('ss', function($){
  
  		$('.memberdatetimeoptionset').entwine({
  			onmatch: function() {
  				this.find('.description .toggle-content').hide();
  				this._super();
  			}
  		});
  
  		$('.memberdatetimeoptionset .toggle').entwine({
  			onclick: function(e) {
  				jQuery(this).closest('.description').find('.toggle-content').toggle();
  				return false;
  			}
  		});
  
  	});
  	
  }(jQuery));