This ensures that the if the user's default editor is remote edit
then it will be triggered without a page reload.
<div class="dropdown edit_menu">
<%= link_to link_text, edit_path,
:id => 'editanchor',
<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>
:class => "geolink tab #{link_class}" %>
<a class='dropdown-toggle' data-toggle='dropdown' href='#'>
<b class="caret"></b>