diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-27 13:18:33 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-27 13:18:33 +0400 |
commit | c2f6eb0ffe736b88094d97b75299c5fe45429b24 (patch) | |
tree | 8e251108d9ae7dafa6fde22f9796a59db1913a6e /app | |
parent | b34378c4d7932b34a89ef95936dc1a828453e31e (diff) |
Rollback preview button href
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/notes/_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/notes/_form.html.haml b/app/views/projects/notes/_form.html.haml index a89444c5014..a742140cf5a 100644 --- a/app/views/projects/notes/_form.html.haml +++ b/app/views/projects/notes/_form.html.haml @@ -7,10 +7,10 @@ = f.hidden_field :noteable_type .note_text_and_preview.js-toggler-container - %a.btn.btn-primary.js-note-preview-button.js-toggler-target.turn-off{ href: "#", data: {url: preview_project_notes_path(@project)} } + %a.btn.btn-primary.js-note-preview-button.js-toggler-target.turn-off{ href: "javascript:;", data: {url: preview_project_notes_path(@project)} } %i.icon-eye-open Preview - %a.btn.btn-primary.js-note-edit-button.js-toggler-target.turn-off{ href: "#" } + %a.btn.btn-primary.js-note-edit-button.js-toggler-target.turn-off{ href: "javascript:;" } %i.icon-edit Write |