Skip to content

Commit

Permalink
Add data-editor to the main edit tab
Browse files Browse the repository at this point in the history
This ensures that the if the user's default editor is remote edit
then it will be triggered without a page reload.
  • Loading branch information
tomhughes committed Sep 9, 2013
1 parent b1fa78b commit 93d3e4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/layouts/_edit_menu.html.erb
@@ -1,6 +1,7 @@
<div class="dropdown edit_menu">
<%= link_to link_text, edit_path,
:id => 'editanchor',
:data => { :editor => preferred_editor },
:class => "geolink tab #{link_class}" %>
<a class='dropdown-toggle' data-toggle='dropdown' href='#'>
<b class="caret"></b>
Expand Down

0 comments on commit 93d3e4f

Please sign in to comment.