Fix: replace Bootstrap version by jQueryUI version

This commit is contained in:
Regis Houssin
2012-05-30 22:10:44 +02:00
parent 1929c1784d
commit 1e77ff069a
9 changed files with 222 additions and 803 deletions

View File

@@ -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'
)
);
});
});