silverstripe-reports/javascript/MemberImportForm.js

13 lines
262 B
JavaScript
Raw Normal View History

(function($) {
$(document).ready(function() {
$('.import-form .advanced').hide();
$('.import-form a.toggle-advanced').livequery(
'click',
function(e) {
$(this).parents('form:eq(0)').find('.advanced').toggle();
return false;
}
);
});
}(jQuery));