Skip to content

Commit

Permalink
Merge pull request #3589 from sunilhari/Issue#2793Fix
Browse files Browse the repository at this point in the history
Fix for reload button no longer works Issue
  • Loading branch information
takluyver authored May 1, 2018
2 parents 2aca6f9 + 0875d56 commit 3bc3b5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notebook/static/notebook/js/notebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -2761,6 +2761,8 @@ define([
if (that._changed_on_disk_dialog !== null) {
// update save callback on the confirmation button
that._changed_on_disk_dialog.find('.save-confirm-btn').click(_save);
//Rebind Click Event on Reload
that._changed_on_disk_dialog.find('.btn-warning').click(function () {window.location.reload()});
// redisplay existing dialog
that._changed_on_disk_dialog.modal('show');
} else {
Expand Down

0 comments on commit 3bc3b5b

Please sign in to comment.