Move aspect contacts pane js to public

This commit is contained in:
Raphael 2010-11-30 13:55:15 -08:00 committed by danielvincent
parent fdbc7dff86
commit 3dc3efc103

View file

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