no reload on timelog delete

Please refer to https://docs.angularjs.org/api/ng/directive/ngHref for
the different combinations of href, ng-href and ng-click within an a
tag.
pull/3213/head
Jens Ulferts 9 years ago
parent 88b708bbf2
commit 34928de9c9
  1. 2
      app/views/timelog/_list.html.erb

@ -59,7 +59,7 @@ See doc/COPYRIGHT.rdoc for more details.
<a ng-href="{{PathHelper.timeEntryEditPath(timeEntry.id)}}" class="no-decoration-on-hover"> <a ng-href="{{PathHelper.timeEntryEditPath(timeEntry.id)}}" class="no-decoration-on-hover">
<icon-wrapper icon-name="edit" icon-title="{{I18n.t('js.button_edit')}}"></icon-wrapper> <icon-wrapper icon-name="edit" icon-title="{{I18n.t('js.button_edit')}}"></icon-wrapper>
</a> </a>
<a ng-click="deleteTimeEntry(timeEntry.id)" href="#" class="no-decoration-on-hover"> <a ng-click="deleteTimeEntry(timeEntry.id)" href="" class="no-decoration-on-hover">
<icon-wrapper icon-name="delete" icon-title="{{I18n.t('js.button_delete')}}"></icon-wrapper> <icon-wrapper icon-name="delete" icon-title="{{I18n.t('js.button_delete')}}"></icon-wrapper>
</a> </a>
</span> </span>

Loading…
Cancel
Save