2011-03-23 10:51:00 +01:00
|
|
|
/**
|
|
|
|
* File: MemberImportForm.js
|
|
|
|
*/
|
|
|
|
(function($) {
|
|
|
|
$.entwine('ss', function($){
|
|
|
|
/**
|
|
|
|
* Class: .import-form .advanced
|
|
|
|
*/
|
|
|
|
$('.import-form .advanced').entwine({
|
|
|
|
onmatch: function() {
|
|
|
|
this._super();
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2011-03-23 10:51:00 +01:00
|
|
|
this.hide();
|
2012-05-14 01:43:36 +02:00
|
|
|
},
|
|
|
|
onunmatch: function() {
|
|
|
|
this._super();
|
2011-03-23 10:51:00 +01:00
|
|
|
}
|
|
|
|
});
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2011-03-23 10:51:00 +01:00
|
|
|
/**
|
|
|
|
* Class: .import-form a.toggle-advanced
|
|
|
|
*/
|
|
|
|
$('.import-form a.toggle-advanced').entwine({
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2011-03-23 10:51:00 +01:00
|
|
|
/**
|
|
|
|
* Function: onclick
|
|
|
|
*/
|
|
|
|
onclick: function(e) {
|
|
|
|
this.parents('form:eq(0)').find('.advanced').toggle();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2012-05-14 01:43:36 +02:00
|
|
|
}(jQuery));
|