Always set translations

This commit is contained in:
Raphael 2010-11-30 15:44:27 -08:00
parent 366734ca5e
commit bfcae7fd80

View file

@ -4,14 +4,14 @@
- content_for :head do
=javascript_include_tag 'aspect-contacts'
- if aspect != :all && aspect.contacts.count == 0
:javascript
$(document).ready(function(){
EditPane.setTranslations({
doneEditing: "#{t('.done_editing')}",
editAspect:"#{t('aspects.show.edit_aspect')}"
});
- if aspect != :all && aspect.contacts.count == 0
:javascript
$(document).ready(function(){
EditPane.fadeIn();
});