Add date and time in filename when saving chat history

master
Daniel Berteaud 11 years ago
parent 098dd94f16
commit 4f6040226e
  1. 3
      public/js/vroom.js

@ -2083,7 +2083,8 @@ function initVroom(room) {
});
$('#saveChat').click(function(){
downloadContent('VROOM Tchat (' + room + ').html', $('#chatHistory').html());
var d = new Date;
downloadContent('VROOM Tchat (' + room + ') ' + d.toLocaleString() + '.html', $('#chatHistory').html());
});
// Suspend/Play MoH

Loading…
Cancel
Save