From df781b53999f0656992929514a334867ab5b43af Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 23 Apr 2009 03:07:55 -0400
Subject: [PATCH] - Fix auto-complete function hangs with plus sign (#1485815)

---
 program/js/app.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 627ddf5..43e0aa9 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2568,7 +2568,7 @@
     this.ksearch_value = q;
     
     this.display_message(this.get_label('searching'), 'loading', true);
-    this.http_post('autocomplete', '_search='+q);
+    this.http_post('autocomplete', '_search='+urlencode(q));
   };
 
   this.ksearch_query_results = function(results, search)

--
Gitblit v1.9.1