Add close button to prompt
This commit is contained in:
parent
ca8bb9490e
commit
8ec5aa3053
1 changed files with 8 additions and 1 deletions
|
@ -12,11 +12,18 @@ $(function() {
|
|||
closable: false,
|
||||
actions: [
|
||||
{
|
||||
text: 'Show wishlist anyway',
|
||||
text: 'Close this tab',
|
||||
class: 'approve primary'
|
||||
},
|
||||
{
|
||||
text: 'Show wishlist anyway',
|
||||
class: 'deny'
|
||||
}
|
||||
],
|
||||
onApprove: function() {
|
||||
window.close();
|
||||
},
|
||||
onDeny: function() {
|
||||
$('.wishlist-own').slideUp();
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue