mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix initial load of templates and reminders page
This commit is contained in:
parent
3a7d21a0b0
commit
9060d901a7
@ -14,7 +14,7 @@
|
||||
Former::input('num_days_' . $field)
|
||||
->addClass('enable-' . $field)
|
||||
->style('float:left;width:20%')
|
||||
->raw() .
|
||||
->raw() .
|
||||
Former::select('direction_' . $field)
|
||||
->addOption(trans('texts.days_before'), REMINDER_DIRECTION_BEFORE)
|
||||
->addOption(trans('texts.days_after'), REMINDER_DIRECTION_AFTER)
|
||||
@ -64,10 +64,10 @@
|
||||
</div>
|
||||
<p> <p/>
|
||||
<div class="row">
|
||||
<div class="col-md-10">
|
||||
<div class="col-md-10 show-when-ready" style="display:none">
|
||||
@include('partials/quill_toolbar', ['name' => $field])
|
||||
</div>
|
||||
<div class="col-md-2" style="padding-top:10px">
|
||||
<div class="col-md-2 pull-right" style="padding-top:10px">
|
||||
{!! Button::primary(trans('texts.preview'))->withAttributes(['onclick' => 'serverPreview("'.$field.'")'])->small() !!}
|
||||
</div>
|
||||
</div>
|
||||
@ -107,4 +107,4 @@
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
@ -216,6 +216,8 @@
|
||||
enableReminder(i);
|
||||
}
|
||||
|
||||
$('.show-when-ready').show();
|
||||
|
||||
refreshPreview();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user