KodeStar
7 years ago
14 changed files with 141 additions and 6 deletions
@ -1,4 +1,4 @@ |
|||||
{ |
{ |
||||
"/css/app.css": "/css/app.css?id=2102f4e7317cba78bff5", |
"/css/app.css": "/css/app.css?id=e01da6a30207cefea3dd", |
||||
"/js/app.js": "/js/app.js?id=2dffa24cf7255229e085" |
"/js/app.js": "/js/app.js?id=2dffa24cf7255229e085" |
||||
} |
} |
@ -0,0 +1 @@ |
|||||
|
/Users/admin/Sites/heimdall/storage/app/public |
@ -0,0 +1,20 @@ |
|||||
|
<script> |
||||
|
$( function() { |
||||
|
var availableTags = [ |
||||
|
<?php |
||||
|
$supported = App\Item::supportedOptions(); |
||||
|
foreach($supported as $sapp) { |
||||
|
echo '"'.$sapp.'",'; |
||||
|
} |
||||
|
?> |
||||
|
]; |
||||
|
$( "#appname" ).autocomplete({ |
||||
|
source: availableTags, |
||||
|
select: function( event, ui ) { |
||||
|
$.post('/appload', { app: ui.item.value }, function(data) { |
||||
|
alert(data); |
||||
|
}); |
||||
|
} |
||||
|
}); |
||||
|
}); |
||||
|
</script> |
Loading…
Reference in new issue