});
}
+function maximiseMap() {
+ $("#content").addClass("maximised");
+}
+
+function minimiseMap() {
+ $("#content").removeClass("maximised");
+}
+
/*
* Forms which have been cached by rails may have the wrong
* authenticity token, so patch up any forms with the correct
+++ /dev/null
-function maximiseMap() {
- $("#content").addClass("maximised");
-}
-
-function minimiseMap() {
- $("#content").removeClass("maximised");
-}
<p><%= raw t 'site.edit.not_public_description', :user_page => (link_to t('site.edit.user_page_link'), {:controller => 'user', :action => 'account', :display_name => @user.display_name, :anchor => 'public'}) %></p>
<p><%= raw t 'site.edit.anon_edits', :link => link_to(t('site.edit.anon_edits_link_text'), t('site.edit.anon_edits_link')) %></p>
<% else %>
- <% content_for :head do %>
- <%= javascript_include_tag "edit" %>
- <% end %>
-
<%= render :partial => preferred_editor %>
<% end %>
<% end %>
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
- config.assets.precompile += %w( index.js edit.js browse.js changeset.js welcome.js )
+ config.assets.precompile += %w( index.js browse.js changeset.js welcome.js )
config.assets.precompile += %w( user.js diary_entry.js pngfix.js swfobject.js )
config.assets.precompile += %w( large-ltr.css small-ltr.css print-ltr.css )
config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css )