silverstripe-cms/javascript/MemberImportForm.js
Ingo Schommer 168589a59f MINOR Updated jQuery.concrete references to point to the new "entwine" name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102697 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 05:55:56 +00:00

19 lines
345 B
JavaScript

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