blob: 6c4b0ce757dbe447191d02e722391b4bd36b9e6d (
plain)
1
2
3
4
5
6
7
8
9
|
// Remove body class for any previous theme, re-add current one
$('body').removeClass('<%= Gitlab::Themes.body_classes %>')
$('body').addClass('<%= user_application_theme %>')
// Re-enable the "Save" button
$('input[type=submit]').enable()
// Show the notice flash message
new Flash('<%= flash.discard(:notice) %>', 'notice')
|