git-annex/templates/page.julius

18 lines
419 B
Text
Raw Normal View History

2012-07-31 00:33:23 +00:00
connfailed =
'<div id="modal" class="modal fade">' +
' <div class="modal-header">' +
' <h3>git-annex has shut down</h3>' +
' </div>' +
' <div class="modal-body">' +
' You can now close this browser window.' +
' </div>' +
'</div>' ;
function webapp_disconnected () {
$('#modal').replaceWith(connfailed);
$('#modal').modal('show');
// ideal, but blocked by many browsers
window.close();
}