NIHVIVO-731: added author's name to delete confirmation message

This commit is contained in:
tworrall 2011-10-31 17:46:38 +00:00
parent 89b65a6c0e
commit d41f7acbe2

View file

@ -528,8 +528,11 @@ var addAuthorForm = {
removeAuthorship: function(link) {
// RY Upgrade this to a modal window
authorName = $(link).prev().children().text();
var removeLast = false,
message = 'Are you sure you want to remove this author?';
message = 'Are you sure you want to remove this author:\n\n' + authorName + ' ?\n\n';
if (!confirm(message)) {
return false;