diff options
author | unknown <tostercx@gmail.com> | 2015-03-04 20:56:41 +0300 |
---|---|---|
committer | unknown <tostercx@gmail.com> | 2015-03-04 23:05:15 +0300 |
commit | 6fd06006856bd7f06c5bf15db2ef064cba043a58 (patch) | |
tree | 903dc7763567344504c044b786445699f8c601de /app/assets/javascripts/blob | |
parent | ba215e9cd5a45b40f794f1953c96a726b52c1f77 (diff) |
Bugfix #1096
Diffstat (limited to 'app/assets/javascripts/blob')
-rw-r--r-- | app/assets/javascripts/blob/edit_blob.js.coffee | 2 | ||||
-rw-r--r-- | app/assets/javascripts/blob/new_blob.js.coffee | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/blob/edit_blob.js.coffee b/app/assets/javascripts/blob/edit_blob.js.coffee index 6914ca759f6..2e91a06daa8 100644 --- a/app/assets/javascripts/blob/edit_blob.js.coffee +++ b/app/assets/javascripts/blob/edit_blob.js.coffee @@ -15,7 +15,7 @@ class @EditBlob $(".js-commit-button").click -> $("#file-content").val editor.getValue() $(".file-editor form").submit() - return + return false editModePanes = $(".js-edit-mode-pane") editModeLinks = $(".js-edit-mode a") diff --git a/app/assets/javascripts/blob/new_blob.js.coffee b/app/assets/javascripts/blob/new_blob.js.coffee index a6e27116b40..ab8f98715e8 100644 --- a/app/assets/javascripts/blob/new_blob.js.coffee +++ b/app/assets/javascripts/blob/new_blob.js.coffee @@ -15,7 +15,7 @@ class @NewBlob $(".js-commit-button").click -> $("#file-content").val editor.getValue() $(".file-editor form").submit() - return + return false editor: -> return @editor |