From 6d6d618e522345a84cb2bb5ab464f6e6dc852b42 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Wed, 6 Oct 2010 16:45:29 -0500 Subject: [PATCH] remove location bar updates --- www/extras/admin/admin.js | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/www/extras/admin/admin.js b/www/extras/admin/admin.js index c3fc74472..8ee10e2c4 100644 --- a/www/extras/admin/admin.js +++ b/www/extras/admin/admin.js @@ -2017,38 +2017,3 @@ WebGUI.Admin.Search.prototype.addFilter } }; -/** - * updateLocationBarQuery( ) - * Update the location bar text with the filters in the search box - */ -WebGUI.Admin.Search.prototype.updateLocationBarQuery -= function () { - var query = ""; - - // First add filters - var filterVals = []; - for ( var i = 0; i < this.filters.length; i++ ) { - var filter = this.filters[i]; - if ( filter.type == "title" ) { - var value = filter.inputElem.value; - if ( !value ) continue; - var quote = ""; - if ( value.match(/\s/) ) { - quote = '"'; - } - filterVals.push( "title:" + quote + filter.inputElem.value + quote ); - } - } - query += filterVals.join(" "); - - - // Then add keywords - if ( query != "" ) { - query += " "; // Add a space between filters and keywords - } - query += document.getElementById( 'searchKeywords' ).value; - - // Set the new value - document.getElementById( 'locationInput' ).value = query; -}; -