Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Error in gollum.js broke new page button.
  • Loading branch information
bootstraponline committed Nov 8, 2012
1 parent f66f14b commit dbb6ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gollum/frontend/public/gollum/javascript/gollum.js
Expand Up @@ -225,7 +225,7 @@ $(document).ready(function() {
$("#gollum-editor-submit").click( function() { window.onbeforeunload = null; } );
$("#gollum-editor-body").one('change', function(){
window.onbeforeunload = function(){ return "Leaving will not create a new page!" };
)};
});
$.GollumEditor({ NewFile: true, MarkupType: '{{default_markup}}' });
}
});

0 comments on commit dbb6ce2

Please sign in to comment.