<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/suggest/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/suggest/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 18 Mar 2010 13:28:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/suggest/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Pressing enter does nothing (have to click to submit form)</title><link>https://sourceforge.net/p/suggest/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Somehow adding this javascript is preventing me simply typing in a string and pressing return which ought to be the default behaviour.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 18 Mar 2010 13:28:40 -0000</pubDate><guid>https://sourceforge.netea2041415c5f18fe573efb2c125ef9787471679f</guid></item><item><title>Nothing happens</title><link>https://sourceforge.net/p/suggest/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have set up the search suggestor on my input box, created a php file and added it as the action.&lt;/p&gt;
&lt;p&gt;I have manually tested the output of my php page and does infact output values.&lt;/p&gt;
&lt;p&gt;print utf8_encode("new Array(" . implode(", ", $values) . ");"); //last line.&lt;/p&gt;
&lt;p&gt;HTML:&lt;/p&gt;
&lt;p&gt;&amp;lt;input class="inputbox" title="MaFia DDL Search" name="q" id="q" onfocus="clearBox(this.value);" onblur="resetBox(); fill();" autocomplete="off" value="&amp;lt;?php if (isset($_REQUEST['q'])) echo $_REQUEST['q']; else echo 'Enter Search Keywords'; ?&amp;gt;" action="include/suggest.php" columns="1" delay="1000" /&amp;gt;&lt;/p&gt;
&lt;p&gt;This is on my main index page:&lt;/p&gt;
&lt;p&gt;&amp;lt;script type="text/javascript" src="&amp;lt;?=$siteurl?&amp;gt;include/SuggestFramework.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type="text/javascript"&amp;gt;window.onload = initializeSuggestFramework;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;style type="text/css"&amp;gt;@import url("&amp;lt;?=$siteurl?&amp;gt;include/SuggestFramework.css");&amp;lt;/style&amp;gt;&lt;/p&gt;
&lt;p&gt;When entering a search query i get no suggestions. Anys ideas? Or suggestions on what i can do to figure out what the issue at hand is?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Silvio Waters</dc:creator><pubDate>Sat, 08 Aug 2009 07:24:46 -0000</pubDate><guid>https://sourceforge.net79343a3d4d815b4ffb8127a11f19128325170c36</guid></item><item><title>do not show heading when heading="true" </title><link>https://sourceforge.net/p/suggest/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This bug in here:&lt;br /&gt;
function sfwSuggest(instance, list)&lt;br /&gt;
{&lt;br /&gt;
//...&lt;br /&gt;
var heading = sfw[instance].suggestions.shift();&lt;br /&gt;
//...&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;function sfwShowOutput(instance)&lt;br /&gt;
{&lt;br /&gt;
if(typeof sfw[instance].suggestions != "undefined" &amp;amp;&amp;amp;&lt;br /&gt;
sfw[instance].suggestions.length){&lt;br /&gt;
sfw[instance].outputContainer.style.display = "block";      &lt;br /&gt;
}&lt;br /&gt;
};&lt;/p&gt;
&lt;p&gt;when list.length =1 and heading=true&lt;br /&gt;
now if just have  sfw[instance].suggestions.length =0&lt;br /&gt;
so the result can not show.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">qxo</dc:creator><pubDate>Sat, 29 Apr 2006 07:18:59 -0000</pubDate><guid>https://sourceforge.net24ee645b60bea208780c7701e8736b6f0ea3acc6</guid></item><item><title>Different ID and Name</title><link>https://sourceforge.net/p/suggest/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If the input element's ID is different from name, the&lt;br /&gt;
suggest framework will not work.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 10 Apr 2006 07:59:30 -0000</pubDate><guid>https://sourceforge.net1ebc2041363f909f3fbf68221e7891e180e3ca58</guid></item><item><title>On select of entry launch another function</title><link>https://sourceforge.net/p/suggest/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have used the suggest framework to look up companies &lt;br /&gt;
from a database of several thousand and it works &lt;br /&gt;
well.  However I would like to take an action after &lt;br /&gt;
the final value is selected and so would like to &lt;br /&gt;
launch another script function.  All would be fine if &lt;br /&gt;
some browsers supported the onchange event correctly, &lt;br /&gt;
but they don't!&lt;/p&gt;
&lt;p&gt;my email is mike@jupps.co.uk&lt;/p&gt;
&lt;p&gt;thanks for your time&lt;/p&gt;
&lt;p&gt;Mike Jupp&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 08 Apr 2006 18:05:27 -0000</pubDate><guid>https://sourceforge.net015b22ff2f31a9ad834b7937492e3f15bf3e0bfc</guid></item><item><title>Line Break behind the Input Field</title><link>https://sourceforge.net/p/suggest/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Guys,&lt;br /&gt;
I got a small Problem with the use of the script. In my &lt;br /&gt;
form, where i want to use the script, are three fields&lt;br /&gt;
aligned in one line.&lt;/p&gt;
&lt;p&gt;[Field1 with Manual Input] [Field2 with Suggest-Script&lt;br /&gt;
] [Field3 with Manual Input]&lt;/p&gt;
&lt;p&gt;It works, but the Layout creates a new line after the &lt;br /&gt;
second field. It seems, that the "action="backend.php" &lt;br /&gt;
cases the new line. After removing this Tag, it looks &lt;br /&gt;
good, but it didnt work anymore ;) How can i prevent &lt;br /&gt;
the Script off making a new line after the Ajax-Field, &lt;br /&gt;
so that it works? &lt;/p&gt;
&lt;p&gt;Please help :) stephan@phreakadelle.de&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 01 Apr 2006 09:02:19 -0000</pubDate><guid>https://sourceforge.netc0095f4c99fa30d85c600bdf00f1261ead29b1ac</guid></item><item><title>bug or not</title><link>https://sourceforge.net/p/suggest/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I tested your example for my JSP and database to&lt;br /&gt;
retreive some results. i tested it on FireFox and i&lt;br /&gt;
didn't work because backend file has some errors. when&lt;br /&gt;
i fixed it it worked. i think file that is on this&lt;br /&gt;
project site has errors. i attached the file which&lt;br /&gt;
worked for me. please check it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ilyas Bakirov (aka eRIC)</dc:creator><pubDate>Fri, 23 Sep 2005 07:37:10 -0000</pubDate><guid>https://sourceforge.netbb8e3f124b002b4de9cf94be792c881c2791ac12</guid></item><item><title>Array looping bug with \"var in\"</title><link>https://sourceforge.net/p/suggest/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This isn't a bug within SuggestFramework itself, but if&lt;br /&gt;
this library would like to play nicely with others,&lt;br /&gt;
then there is a small problem.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;If another library adds functions to Array, then&lt;br /&gt;
looping using "var in" will iterate over the additional&lt;br /&gt;
properties as well as the elements within.&lt;/p&gt;
&lt;p&gt;The fix for this is fairly straightforward: we just&lt;br /&gt;
need to replace the loops using "var in" to "var i = 0&lt;br /&gt;
...".&lt;/p&gt;
&lt;p&gt;The function needing our attention is:&lt;/p&gt;
&lt;p&gt;function SuggestFramework_Suggest(instance, list)&lt;/p&gt;
&lt;p&gt;Since the original code is easily accessable inside of&lt;br /&gt;
sourceforge, i will only include the "fix" as pasted below:&lt;/p&gt;
&lt;p&gt;&amp;lt;snip&amp;gt;&lt;br /&gt;
for(var i = 0; i &amp;lt;&lt;br /&gt;
SuggestFramework_Suggestions[instance].length; i++)&lt;br /&gt;
{&lt;br /&gt;
var suggestionContainer = '&amp;lt;tr id="' +&lt;br /&gt;
SuggestFramework_Name[instance] + 'Suggestions[' +&lt;br /&gt;
SuggestFramework_Suggestions[instance][i] + ']"&amp;gt;';&lt;/p&gt;
&lt;p&gt;for(var j = 0; j &amp;lt;&lt;br /&gt;
SuggestFramework_Columns[instance]; j++)&lt;br /&gt;
{&lt;br /&gt;
var value  =&lt;br /&gt;
((SuggestFramework_Columns[instance] &amp;gt; 1) ?&lt;br /&gt;
(SuggestFramework_Suggestions[instance][i])[j] :&lt;br /&gt;
SuggestFramework_Suggestions[instance][i]);&lt;br /&gt;
var column = '&amp;lt;td&lt;br /&gt;
class="SuggestFramework_Normal"';&lt;br /&gt;
if(SuggestFramework_Columns[instance] &amp;gt; 1&lt;br /&gt;
&amp;amp;&amp;amp; j == SuggestFramework_Columns[instance] - 1)&lt;br /&gt;
column += ' style="text-align: right"';&lt;br /&gt;
column += '&amp;gt;' + value + '&amp;lt;/td&amp;gt;';&lt;br /&gt;
suggestionContainer += column;&lt;br /&gt;
}&lt;br /&gt;
suggestionContainer += '&amp;lt;/tr&amp;gt;';&lt;br /&gt;
table += suggestionContainer;&lt;br /&gt;
}&lt;br /&gt;
tbody += '&amp;lt;/tbody&amp;gt;';&lt;br /&gt;
table += tbody;&lt;br /&gt;
table += '&amp;lt;/table&amp;gt;';&lt;/p&gt;
&lt;p&gt;SuggestFramework_OutputContainer[instance].innerHTML =&lt;br /&gt;
table;&lt;br /&gt;
for(var i = 0; i &amp;lt;&lt;br /&gt;
SuggestFramework_Suggestions[instance].length; i++)&lt;br /&gt;
{&lt;br /&gt;
var row =&lt;br /&gt;
document.getElementById(SuggestFramework_Name[instance]&lt;br /&gt;
+ 'Suggestions[' +&lt;br /&gt;
SuggestFramework_Suggestions[instance][i] + ']');&lt;br /&gt;
row.onmouseover = new&lt;br /&gt;
Function("SuggestFramework_Highlight(" + instance + ",&lt;br /&gt;
" + i + ")");&lt;br /&gt;
row.onmousedown = new&lt;br /&gt;
Function("SuggestFramework_SelectThis(" + instance + ",&lt;br /&gt;
" + i + ")");&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;&amp;lt;/snip&amp;gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
-Dennis Kline&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dennis Kline</dc:creator><pubDate>Mon, 19 Sep 2005 14:01:41 -0000</pubDate><guid>https://sourceforge.nete97776608bd12198994aed27ab898c2123849b22</guid></item><item><title>code improvement</title><link>https://sourceforge.net/p/suggest/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is not actually a bug, just a suggestion to&lt;br /&gt;
improve the code.&lt;br /&gt;
It would be better to use tr classes instead of td classes.&lt;br /&gt;
It's quite overkilled to class every single td of a&lt;br /&gt;
row, when you can simply class the row (and, of course,&lt;br /&gt;
the tds contained in that row).&lt;br /&gt;
I'm not an advanced javascript coder, but I guess that&lt;br /&gt;
some time could be saved by avoiding cycles for all tds...&lt;/p&gt;
&lt;p&gt;CSS will look like this:&lt;/p&gt;
&lt;p&gt;tr.SuggestFramework_Highlighted td&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;padding: 0 1px 0 1px;&lt;/p&gt;
&lt;p&gt;background-color: Highlight;&lt;/p&gt;
&lt;p&gt;color: HighlightText;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;tr.SuggestFramework_Normal td&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;padding: 0 1px 0 1px;&lt;/p&gt;
&lt;p&gt;background-color: #FFFFFF;&lt;/p&gt;
&lt;p&gt;color: #000000;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Sorry, I'm not able to suggest a javascript code.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Massimiliano Arione</dc:creator><pubDate>Thu, 15 Sep 2005 14:47:40 -0000</pubDate><guid>https://sourceforge.net15f6646901c45e9cbe433307d54d81ca496328b3</guid></item><item><title>unvalid HTML code</title><link>https://sourceforge.net/p/suggest/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The way to pass parameters using attributes of tag&lt;br /&gt;
&amp;lt;input&amp;gt; is definitively unvalid.&lt;br /&gt;
It would be better to use some kind of javascript&lt;br /&gt;
variables configuration for action, capture, columns, etc.&lt;br /&gt;
Otherwise, HTML code will never pass w3c validation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Massimiliano Arione</dc:creator><pubDate>Thu, 15 Sep 2005 13:46:00 -0000</pubDate><guid>https://sourceforge.net312a8b090ee68e4b65e5c06e34766cb39ada13e9</guid></item></channel></rss>