diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
commit | 3e45412327a2654a77944249962b3652e6142299 (patch) | |
tree | bc3bf69452afa055423cbe0c5cfa8ca357df6ccf /misc/dashboard/godashboard/project-edit.html | |
parent | c533680039762cacbc37db8dc7eed074c3e497be (diff) | |
download | golang-upstream/2011.01.12.tar.gz |
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'misc/dashboard/godashboard/project-edit.html')
-rw-r--r-- | misc/dashboard/godashboard/project-edit.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/dashboard/godashboard/project-edit.html b/misc/dashboard/godashboard/project-edit.html index 5f1ca3b11..ce18fb3fb 100644 --- a/misc/dashboard/godashboard/project-edit.html +++ b/misc/dashboard/godashboard/project-edit.html @@ -1,11 +1,11 @@ <html> <head> +<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script> google.load("jquery", "1"); +google.load("jqueryui", "1.8.2"); </script> -<script type="text/javascript" src="/static/jquery.autocomplete.min.js"></script> -<link rel="stylesheet" type="text/css" href="/static/jquery.autocomplete.css" /> </head> <body> <form action="/project/edit?orig_name={{p.name}}" method="POST"> @@ -38,8 +38,10 @@ var cats = [ {% endfor %} ]; -$('#tags').autocomplete(tags); -$('#cats').autocomplete(cats); +google.setOnLoadCallback(function() { + $('#tags').autocomplete({source:tags}); + $('#cats').autocomplete({source:cats}); +}); </script> </body> </html> |