Fix up autocomplete for admin_server_add - found and fixed some bugs

in gallery_autocomplete when "multiple" isn't set.  Fixed some
harmless syntax issues that js2-mode helpfully pointed out.
This commit is contained in:
Bharat Mediratta
2013-02-17 00:23:50 -05:00
parent cc45e2e33b
commit d632ef3e50
4 changed files with 19 additions and 20 deletions

View File

@@ -6,10 +6,7 @@
$("document").ready(function() {
$("#g-path").gallery_autocomplete(
"<?= url::site("__ARGS__") ?>".replace("__ARGS__", "admin/server_add/autocomplete"),
{
max: 256,
loadingClass: "g-loading-small",
});
{multiple: true});
});
</script>