silverstripe-cms/javascript/MemberImportForm.js
Ingo Schommer 37a914641b ENHANCEMENT Added help texts for MemberImportForm and GroupImportForm
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98750 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-11 02:22:45 +00:00

19 lines
348 B
JavaScript

(function($) {
$.concrete('ss', function($){
$('.import-form .advanced').concrete({
onmatch: function() {
this._super();
this.hide();
}
});
$('.import-form a.toggle-advanced').concrete({
onclick: function(e) {
this.parents('form:eq(0)').find('.advanced').toggle();
return false;
}
});
});
}(jQuery));