From c9275d4ed4028afa2e4bf570c1f15411cf37f742 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Mar 2014 18:19:01 +0100 Subject: [PATCH] Fix planet composing form. --- static/js/site.js | 5 ++-- templates/admin-planet-compose.html | 40 +++++++++++++++-------------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/static/js/site.js b/static/js/site.js index 1329e238..648b2a5b 100644 --- a/static/js/site.js +++ b/static/js/site.js @@ -46,7 +46,7 @@ if (/.*download-splash.*/i.test(window.location.href)) { }); } -$(".planet-search-autocomplete").typeahead({ +/* $(".planet-search-autocomplete").typeahead({ source: function(query, process) { $.get("/api/planet/search/autocomplete", { q: query }, function(data) { if (data.query == query) { @@ -54,8 +54,7 @@ $(".planet-search-autocomplete").typeahead({ } }); }, -}); - +}); */ function getCookie(name) { var r = document.cookie.match("\\b" + name + "=([^;]*)\\b"); diff --git a/templates/admin-planet-compose.html b/templates/admin-planet-compose.html index ec4f19a1..49a30e4a 100644 --- a/templates/admin-planet-compose.html +++ b/templates/admin-planet-compose.html @@ -12,37 +12,35 @@ {% end %} -
- -
- + +
+
-
-
-

-
- -
- + +
+
-
- -
- -
+
+ +
-
+
+ + +
+