summaryrefslogtreecommitdiff
path: root/modules/g2_import/views
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2011-04-23 10:29:06 -0400
committerChad Kieffer <ckieffer@gmail.com>2011-04-23 10:29:06 -0400
commitc2abd476c74e37f8efbbcef58f6cb41bb3dca7d2 (patch)
tree1d417c9e181c4ce24370a81b3dec1d1b281e882f /modules/g2_import/views
parentbb23e28035293174f935345178f32638c09d0421 (diff)
parent7a4ff2fea194829eac38c6293b43cfa55d4637e1 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/g2_import/views')
-rw-r--r--modules/g2_import/views/admin_g2_import.html.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/g2_import/views/admin_g2_import.html.php b/modules/g2_import/views/admin_g2_import.html.php
index fb2b58c9..cf5e4755 100644
--- a/modules/g2_import/views/admin_g2_import.html.php
+++ b/modules/g2_import/views/admin_g2_import.html.php
@@ -1,4 +1,17 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?= $theme->css("jquery.autocomplete.css") ?>
+<?= $theme->script("jquery.autocomplete.js") ?>
+<script type="text/javascript">
+$("document").ready(function() {
+ $("form input[name=embed_path]").autocomplete(
+ "<?= url::site("__ARGS__") ?>".replace("__ARGS__", "admin/g2_import/autocomplete"),
+ {
+ max: 256,
+ loadingClass: "g-loading-small",
+ });
+});
+</script>
+
<div id="g-admin-g2-import" class="g-block">
<h1> <?= t("Gallery 2 import") ?> </h1>
<p>