mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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)
|
Former::input('num_days_' . $field)
|
||||||
->addClass('enable-' . $field)
|
->addClass('enable-' . $field)
|
||||||
->style('float:left;width:20%')
|
->style('float:left;width:20%')
|
||||||
->raw() .
|
->raw() .
|
||||||
Former::select('direction_' . $field)
|
Former::select('direction_' . $field)
|
||||||
->addOption(trans('texts.days_before'), REMINDER_DIRECTION_BEFORE)
|
->addOption(trans('texts.days_before'), REMINDER_DIRECTION_BEFORE)
|
||||||
->addOption(trans('texts.days_after'), REMINDER_DIRECTION_AFTER)
|
->addOption(trans('texts.days_after'), REMINDER_DIRECTION_AFTER)
|
||||||
@ -64,10 +64,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<p> <p/>
|
<p> <p/>
|
||||||
<div class="row">
|
<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])
|
@include('partials/quill_toolbar', ['name' => $field])
|
||||||
</div>
|
</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() !!}
|
{!! Button::primary(trans('texts.preview'))->withAttributes(['onclick' => 'serverPreview("'.$field.'")'])->small() !!}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -107,4 +107,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -216,6 +216,8 @@
|
|||||||
enableReminder(i);
|
enableReminder(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('.show-when-ready').show();
|
||||||
|
|
||||||
refreshPreview();
|
refreshPreview();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user