mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +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));
|