Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b08b97bd28 | |||
| dbb6ce2f71 |
+1
-1
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
|
||||
s.required_ruby_version = ">= 1.8.7"
|
||||
|
||||
s.name = 'gollum'
|
||||
s.version = '2.3.10'
|
||||
s.version = '2.3.11'
|
||||
s.date = '2012-11-07'
|
||||
s.rubyforge_project = 'gollum'
|
||||
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ require File.expand_path('../gollum/web_sequence_diagram', __FILE__)
|
||||
require File.expand_path('../gollum/frontend/uri_encode_component', __FILE__)
|
||||
|
||||
module Gollum
|
||||
VERSION = '2.3.10'
|
||||
VERSION = '2.3.11'
|
||||
|
||||
def self.assets_path
|
||||
::File.expand_path('gollum/frontend/public', ::File.dirname(__FILE__))
|
||||
|
||||
@@ -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}}' });
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user