Move aspect contacts pane js to public
This commit is contained in:
parent
fdbc7dff86
commit
3dc3efc103
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue