1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
This commit is contained in:
Hillel Coren 2016-01-05 21:12:50 +02:00
parent aa94e786ba
commit 373c2e7736

View File

@ -3,9 +3,10 @@
@section('content')
{!! Former::open($entityType . 's/bulk')->addClass('listForm') !!}
<div style="display:none">
{!! Former::text('action') !!}
{!! Former::text('public_id') !!}
{!! Former::text('public_id') !!}
</div>
@if ($entityType == ENTITY_TASK)
@ -23,7 +24,8 @@
</label>
<div id="top_right_buttons" class="pull-right">
<input id="tableFilter" type="text" style="width:140px;margin-right:17px;background-color: white !important" class="form-control pull-left" placeholder="{{ trans('texts.filter') }}"/>
<input id="tableFilter" type="text" style="width:140px;margin-right:17px;background-color: white !important"
class="form-control pull-left" placeholder="{{ trans('texts.filter') }}" value="{{ Input::get('filter') }}"/>
@if (Auth::user()->isPro() && $entityType == ENTITY_INVOICE)
{!! Button::normal(trans('texts.quotes'))->asLinkTo(URL::to('/quotes'))->appendIcon(Icon::create('list')) !!}
{!! Button::normal(trans('texts.recurring'))->asLinkTo(URL::to('/recurring_invoices'))->appendIcon(Icon::create('list')) !!}
@ -117,9 +119,13 @@
searchTimeout = setTimeout(function() {
filterTable($('#tableFilter').val());
}, 500);
}, 500);
})
if ($('#tableFilter').val()) {
filterTable($('#tableFilter').val());
}
window.onDatatableReady = function() {
$(':checkbox').click(function() {
setBulkActionsEnabled();