From 4c83680ae90b775fbaee9511b713de90708db100 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Sun, 18 Feb 2018 19:21:32 +0000 Subject: [PATCH] remove apps from tags --- resources/views/tags/form.blade.php | 2 +- resources/views/tags/scripts.blade.php | 24 ------------------------ 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/resources/views/tags/form.blade.php b/resources/views/tags/form.blade.php index 2b5e98f35..18f2fb1f5 100644 --- a/resources/views/tags/form.blade.php +++ b/resources/views/tags/form.blade.php @@ -11,7 +11,7 @@
- {!! Form::text('title', null, array('placeholder' => __('app.apps.title'), 'id' => 'appname', 'class' => 'form-control')) !!} + {!! Form::text('title', null, array('placeholder' => __('app.apps.title'), 'class' => 'form-control')) !!}
{!! Form::hidden('pinned', '0') !!} diff --git a/resources/views/tags/scripts.blade.php b/resources/views/tags/scripts.blade.php index f8e92d459..3123e953d 100644 --- a/resources/views/tags/scripts.blade.php +++ b/resources/views/tags/scripts.blade.php @@ -6,29 +6,5 @@ // options }); - var availableTags = [ - - ]; - $( "#appname" ).autocomplete({ - source: availableTags, - select: function( event, ui ) { - $.post('/appload', { app: ui.item.value }, function(data) { - $('#appimage').html(""); - $('input[name=colour]').val(data.colour); - hueb.setColor( data.colour ); - $('input[name=pinned]').prop('checked', true); - if(data.config != null) { - $.get('/view/'+data.config, function(getdata) { - $('#sapconfig').html(getdata).show(); - }); - } - }, "json"); - } - }); }); \ No newline at end of file