From 4c28d9c34f5f3e5ccbbed6dbb0ba08bc5235b53b Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Thu, 10 May 2012 12:24:12 -0400 Subject: [PATCH] - Added global search (FS#2210, FS#2146). --- interface/web/js/scrigo.js.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php index 25e2128..f8120e8 100644 --- a/interface/web/js/scrigo.js.php +++ b/interface/web/js/scrigo.js.php @@ -33,10 +33,10 @@ } } -function capp(module) { +function capp(module, redirect) { var submitFormObj = jQuery.ajax({ type: "GET", url: "capp.php", - data: "mod="+module, + data: "mod="+module+((redirect != undefined) ? '&redirect='+redirect : ''), dataType: "html", success: function(data, textStatus, jqXHR) { if(jqXHR.responseText != '') { -- Gitblit v1.9.1