Skip to content
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.

Commit

Permalink
fix(ui): delete button colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalle Soranko committed Apr 11, 2018
1 parent a9a7026 commit 3676801
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions frontend/sw360-portlet/src/main/webapp/js/main.js
Expand Up @@ -242,14 +242,18 @@ function deleteConfirmed(confirmMessage, confirmCallback) {
return $.confirm({
title: 'Warning',
content: confirmMessage,
confirmButtonClass: 'btn-info',
cancelButtonClass: 'btn-danger',
buttons: {
confirm: function() {
confirmCallback();
confirm: {
btnClass: 'btn-green',
action: function() {
confirmCallback();
}
},
cancel: function () {
//close
cancel: {
btnClass: 'btn-red',
action: function () {
//close
}
}
}
});
Expand Down

0 comments on commit 3676801

Please sign in to comment.