Skip to content

Commit

Permalink
Fix for reload button no longer works Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hari committed May 1, 2018
1 parent 2aca6f9 commit 0875d56
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 0875d56

Please sign in to comment.