This commit is contained in:
James Cole
2018-06-10 10:41:45 +02:00
parent 3440c3e77a
commit 35a5ec78c3
2 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ function updateLayout() {
$('#subTitle').text(title[what]);
$('.breadcrumb .active').text(breadcrumbs[what]);
$('.breadcrumb li:nth-child(2)').html('<a href="' + middleCrumbUrl[what] + '">' + middleCrumbName[what] + '</a>');
$('#transaction-btn').text(button[what]);
$('.transaction-btn').text(button[what]);
}
/**

View File

@@ -60,7 +60,7 @@
{{ ExpandedForm.date('date', preFilled.date|default(phpdate('Y-m-d'))) }}
</div>
<div class="box-footer">
<button type="submit" id="transaction-btn" class="btn btn-success pull-right">
<button type="submit" class="transaction-btn btn btn-success pull-right">
{{ trans('form.store_new_'~what) }}
</button>
</div>
@@ -196,7 +196,7 @@
{{ ExpandedForm.optionsList('create','transaction') }}
</div>
<div class="box-footer">
<button type="submit" id="transaction-btn" class="btn btn-success pull-right">
<button type="submit" class="transaction-btn btn btn-success pull-right">
{{ trans('form.store_new_'~what) }}
</button>
</div>