mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 09:14:48 +09:00
Add option to apply default file settings to module
This commit is contained in:
parent
9d08cac27b
commit
6d2a91134c
9 changed files with 58 additions and 14 deletions
12
modules/file/tpl/js/config.js
Normal file
12
modules/file/tpl/js/config.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(function($) {
|
||||
$(function() {
|
||||
|
||||
$('#use_default_file_config').on('change', function() {
|
||||
if ($(this).is(':checked')) {
|
||||
$('.use_custom_file_config').hide();
|
||||
} else {
|
||||
$('.use_custom_file_config').show();
|
||||
}
|
||||
});
|
||||
});
|
||||
})(jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue