mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
19de22f427
admin/javascript => admin/client admin/javascript/src => admin/client/src/legacy (mostly) admin/scss/_variables.scss => admin/client/styles/_variables.scss admin/scss => admin/client/styles/legacy/ admin/css/editor.css => admin/client/dist/css/editor.css admin/css/screen.css => admin/client/dist/css/bundle.css admin/images => admin/client/dist/images admin/images/sprites/src => admin/client/src/sprites admin/images/sprites/dist => admin/client/dist/sprites admin/font => admin/client/dist/font
20 lines
380 B
JavaScript
20 lines
380 B
JavaScript
import $ from 'jQuery';
|
|
|
|
$.entwine('ss', function($){
|
|
|
|
$('.memberdatetimeoptionset').entwine({
|
|
onmatch: function() {
|
|
this.find('.description .toggle-content').hide();
|
|
this._super();
|
|
}
|
|
});
|
|
|
|
$('.memberdatetimeoptionset .toggle').entwine({
|
|
onclick: function(e) {
|
|
jQuery(this).closest('.description').find('.toggle-content').toggle();
|
|
return false;
|
|
}
|
|
});
|
|
|
|
});
|