Commit 6fd06006 authored by unknown's avatar unknown

Bugfix #1096

parent ba215e9c
...@@ -15,7 +15,7 @@ class @EditBlob ...@@ -15,7 +15,7 @@ class @EditBlob
$(".js-commit-button").click -> $(".js-commit-button").click ->
$("#file-content").val editor.getValue() $("#file-content").val editor.getValue()
$(".file-editor form").submit() $(".file-editor form").submit()
return return false
editModePanes = $(".js-edit-mode-pane") editModePanes = $(".js-edit-mode-pane")
editModeLinks = $(".js-edit-mode a") editModeLinks = $(".js-edit-mode a")
......
...@@ -15,7 +15,7 @@ class @NewBlob ...@@ -15,7 +15,7 @@ class @NewBlob
$(".js-commit-button").click -> $(".js-commit-button").click ->
$("#file-content").val editor.getValue() $("#file-content").val editor.getValue()
$(".file-editor form").submit() $(".file-editor form").submit()
return return false
editor: -> editor: ->
return @editor return @editor
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment