From: Michael Tremer Date: Wed, 26 Mar 2014 17:19:01 +0000 (+0100) Subject: Fix planet composing form. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9275d4ed4028afa2e4bf570c1f15411cf37f742;p=ipfire.org.git Fix planet composing form. --- 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 %} -
- -
- + +
+
-
-
-

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