mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
168589a59f
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102697 467b73ca-7a2a-4603-9d3b-597d59a354a9
19 lines
345 B
JavaScript
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)); |