diff --git a/lib/gollum/public/gollum/javascript/editor/gollum.editor.js.erb b/lib/gollum/public/gollum/javascript/editor/gollum.editor.js.erb index 59d592f6..a78b0010 100755 --- a/lib/gollum/public/gollum/javascript/editor/gollum.editor.js.erb +++ b/lib/gollum/public/gollum/javascript/editor/gollum.editor.js.erb @@ -260,7 +260,7 @@ } window.ace_editor.insert(text); }, - error: function(r, textStatus, errorThrown) { + error: function(data, textStatus, errorThrown) { if (data.status == 409) { alert('This file already exists.'); } else {