summaryrefslogtreecommitdiff
path: root/modules/g2_import/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2011-04-23 07:27:02 -0700
committerTim Almdal <tnalmdal@shaw.ca>2011-04-23 07:27:02 -0700
commita1f419435c755500bbd11cb6c48a5bb31f8e6421 (patch)
tree1e673daeb106731abbfd4f8095011538a1c31fe8 /modules/g2_import/views
parent4b01676f323fb280ebaa4c041e6894cbb464d8fe (diff)
parent33e4a995aa844ebb523ee85a1584ab0386129f7d (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 20b243d5..1094524f 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>