From 3bca586cce6943c1dfc66f2d4fd8b5dce6938e0a Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 7 Sep 2006 02:00:15 +0000 Subject: [PATCH] turning apos into space, but retaining for display where possible git-svn-id: svn://svn.open-ils.org/ILS/trunk@6011 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/adv_global.js | 2 +- Open-ILS/web/opac/skin/default/js/result_common.js | 2 +- Open-ILS/web/opac/skin/default/js/search_bar.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/opac/skin/default/js/adv_global.js b/Open-ILS/web/opac/skin/default/js/adv_global.js index 3faa54734d..b83d6f73af 100644 --- a/Open-ILS/web/opac/skin/default/js/adv_global.js +++ b/Open-ILS/web/opac/skin/default/js/adv_global.js @@ -176,7 +176,7 @@ function advBuildSearchBlob() { break; } if(string) { - string = string.replace(/'/,''); + string = string.replace(/'/,' '); searches[stype].term = string; } } diff --git a/Open-ILS/web/opac/skin/default/js/result_common.js b/Open-ILS/web/opac/skin/default/js/result_common.js index 865acb9989..a226fb1660 100644 --- a/Open-ILS/web/opac/skin/default/js/result_common.js +++ b/Open-ILS/web/opac/skin/default/js/result_common.js @@ -45,7 +45,7 @@ function resultCollectSearchIds( type, method, handler ) { args.searches[getStype()] = {}; var term = getTerm(); if( term ) { - term = term.replace(/'/,''); + term = term.replace(/'/,' '); args.searches[getStype()].term = term; } diff --git a/Open-ILS/web/opac/skin/default/js/search_bar.js b/Open-ILS/web/opac/skin/default/js/search_bar.js index 9dfac6eaa4..335720dfc4 100644 --- a/Open-ILS/web/opac/skin/default/js/search_bar.js +++ b/Open-ILS/web/opac/skin/default/js/search_bar.js @@ -53,7 +53,7 @@ function searchBarSubmit() { var d = (newSearchDepth != null) ? newSearchDepth : depthSelGetDepth(); if(isNaN(d)) d = 0; - text = text.replace(/'/,''); + //text = text.replace(/'/,''); var args = {}; -- 2.43.2