mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 10:08:27 +01:00
Fix: replace Bootstrap version by jQueryUI version
This commit is contained in:
@@ -75,4 +75,19 @@ $(function () {
|
||||
});
|
||||
}
|
||||
|
||||
// Initialize the Image Gallery widget:
|
||||
$('#fileupload .files').imagegallery();
|
||||
|
||||
// Initialize the theme switcher:
|
||||
$('#theme-switcher').change(function () {
|
||||
var theme = $('#theme');
|
||||
theme.prop(
|
||||
'href',
|
||||
theme.prop('href').replace(
|
||||
/[\w\-]+\/jquery-ui.css/,
|
||||
$(this).val() + '/jquery-ui.css'
|
||||
)
|
||||
);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user