place recording popovers in table for handlers

This commit is contained in:
Zachary Chai 2016-11-24 17:13:32 -05:00
parent 48fe071af1
commit 3f6111795a
2 changed files with 13 additions and 17 deletions

View File

@ -108,21 +108,6 @@
};
$(document).tooltip(options);
// enable popovers
var options = {
selector: '.has-popover',
container: 'body',
html: true,
trigger: 'focus',
title: function() {
return I18n.are_you_sure;
},
content: function() {
return $(".delete-popover-body").html();
}
};
$('#recordings').popover(options);
// focus name input or join button
if ($('.meeting-user-name').is(':visible')) {
$('.meeting-user-name').focus();

View File

@ -81,11 +81,22 @@ class @Recordings
})
options = {
selector: '.delete-tooltip',
container: 'body',
placement: 'bottom',
title: I18n.delete_recording
};
$('#recordings').tooltip(options);
$('#recordings').tooltip(options)
# enable popovers
options = {
selector: '.has-popover',
html: true,
trigger: 'focus',
title: ->
return I18n.are_you_sure;
content: ->
return $(".delete-popover-body").html()
}
$('#recordings').popover(options)
# Gets the current instance or creates a new one
@getInstance: ->