Enigma: Fix encoding of a key search phrase (#5459)

pull/5461/head
Aleksander Machniak 8 years ago
parent 8a51607671
commit 7203d151ec

@ -296,10 +296,10 @@ rcube_webmail.prototype.enigma_search = function(props)
props = this.gui_objects.qsearchbox.value; props = this.gui_objects.qsearchbox.value;
if (props || this.env.search_request) { if (props || this.env.search_request) {
var params = {'_a': 'search', '_q': urlencode(props)}, var params = {'_a': 'search', '_q': props},
lock = this.set_busy(true, 'searching'); lock = this.set_busy(true, 'searching');
// if (this.gui_objects.search_filter) // if (this.gui_objects.search_filter)
// addurl += '&_filter=' + this.gui_objects.search_filter.value; // addurl += '&_filter=' + this.gui_objects.search_filter.value;
this.env.current_page = 1; this.env.current_page = 1;
this.enigma_loadframe(); this.enigma_loadframe();
this.enigma_clear_list(); this.enigma_clear_list();

Loading…
Cancel
Save