mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
19 lines
348 B
JavaScript
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));
|