Skip to content

Commit 3bc3b5b

Browse files
authored
Merge pull request #3589 from sunilhari/Issue#2793Fix
Fix for reload button no longer works Issue
2 parents 2aca6f9 + 0875d56 commit 3bc3b5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

notebook/static/notebook/js/notebook.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2761,6 +2761,8 @@ define([
27612761
if (that._changed_on_disk_dialog !== null) {
27622762
// update save callback on the confirmation button
27632763
that._changed_on_disk_dialog.find('.save-confirm-btn').click(_save);
2764+
//Rebind Click Event on Reload
2765+
that._changed_on_disk_dialog.find('.btn-warning').click(function () {window.location.reload()});
27642766
// redisplay existing dialog
27652767
that._changed_on_disk_dialog.modal('show');
27662768
} else {

0 commit comments

Comments
 (0)