Rename toggleData to showData

This commit is contained in:
Tom Hughes 2012-03-28 21:20:40 +01:00
parent bd14832cb5
commit 50ca95ebdd
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@
<li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor', :class => "geolink llz object"} %></li>
<% end %>
<% unless STATUS == :api_offline or STATUS == :database_offline %>
<li><%= link_to_function(t('browse.start_rjs.data_layer_name'), 'toggleData()') %></li>
<li><%= link_to_function(t('browse.start_rjs.data_layer_name'), 'showData()') %></li>
<% end %>
</ul>
</div>

View file

@ -188,7 +188,7 @@ end
handleResize();
}
function toggleData() {
function showData() {
$.ajax({ url: "<%= url_for :controller => :browse, :action => :start %>" });
}