Rename toggleData to showData
This commit is contained in:
parent
bd14832cb5
commit
50ca95ebdd
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -188,7 +188,7 @@ end
|
|||
handleResize();
|
||||
}
|
||||
|
||||
function toggleData() {
|
||||
function showData() {
|
||||
$.ajax({ url: "<%= url_for :controller => :browse, :action => :start %>" });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue