<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/saja/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/saja/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/saja/bugs/</id><updated>2007-09-04T14:09:31Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Notice in saja.php</title><link href="https://sourceforge.net/p/saja/bugs/4/" rel="alternate"/><published>2007-09-04T14:09:31Z</published><updated>2007-09-04T14:09:31Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net8be36da4f13095c8bfc5acb429b0a31c07002408</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The are two more notice at 229 and 230&lt;/p&gt;
&lt;p&gt;It is not always true that there are action and property.&lt;/p&gt;
&lt;p&gt;list($target, $action) = $this-&amp;gt;texplode(',', $target);&lt;br /&gt;
list($targetId, $targetProperty) = $this-&amp;gt;texplode(':', $target);&lt;/p&gt;
&lt;p&gt;It is sufficient to correct as follow:&lt;br /&gt;
@list($target, $action) = $this-&amp;gt;texplode(',', $target);&lt;br /&gt;
@list($targetId, $targetProperty) = $this-&amp;gt;texplode(':', $target);&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Missing index HISTORY in $REQ</title><link href="https://sourceforge.net/p/saja/bugs/3/" rel="alternate"/><published>2007-09-04T13:54:37Z</published><updated>2007-09-04T13:54:37Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netdcff15b404c1b0cdf9577a7a275f9b7a1b47b36e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In saja.process.php there is the following at line 42:&lt;/p&gt;
&lt;p&gt;$use_history = $REQ['HISTORY'];&lt;/p&gt;
&lt;p&gt;which generate a notice due to undefine index.&lt;/p&gt;
&lt;p&gt;I looked at the code and nowere such index is created, I guess it should be around line 230 in saja.php where the $_SESSION is valorized.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>saja.js: getForm()-implementation not correct</title><link href="https://sourceforge.net/p/saja/bugs/2/" rel="alternate"/><published>2007-08-28T10:31:31Z</published><updated>2007-08-28T10:31:31Z</updated><author><name>Tim Boven</name><uri>https://sourceforge.net/u/brainhead/</uri></author><id>https://sourceforge.netb775101f2508bd47e950af874ba55fbfc589405b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;While using the getForm()-function (in saja.js) I noticed an incorrect behaviour when used with a checkbox.&lt;br /&gt;
When I looked at the implemenation I saw that there is also a similar problem with radio-buttons and select-items.&lt;/p&gt;
&lt;p&gt;I updated the implementation to work with checkboxes, I'll also include the code to work with the other elements and post an update of the code later.&lt;/p&gt;
&lt;p&gt;Updated code to work with checkboxes:&lt;/p&gt;
&lt;p&gt;getForm: function(f){&lt;br /&gt;
var vals = {};&lt;br /&gt;
for(var i=0; i&amp;lt;f.length; i++)&lt;br /&gt;
if(f[i].id) {&lt;br /&gt;
if (f[i].type) {&lt;br /&gt;
var type = f[i].type.toLowerCase()&lt;br /&gt;
if (type == "checkbox") {&lt;br /&gt;
if (f[i].checked) &lt;br /&gt;
vals[f[i].id] = f[i].value;&lt;br /&gt;
else vals[f[i].id] = '';&lt;br /&gt;
}&lt;br /&gt;
else vals[f[i].id] = f[i].value;&lt;br /&gt;
//FIXME: Also for radio &amp;amp; select&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
vals[f[i].id] = f[i].value;&lt;br /&gt;
}&lt;br /&gt;
}  &lt;br /&gt;
return vals;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Wrong class variable access in saja.php</title><link href="https://sourceforge.net/p/saja/bugs/1/" rel="alternate"/><published>2006-04-10T14:23:50Z</published><updated>2006-04-10T14:23:50Z</updated><author><name>Alex</name><uri>https://sourceforge.net/u/bambala2002/</uri></author><id>https://sourceforge.net493b49b05cec1c386f8cfc22a6e608cc47e18fc8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In function sajasplit you have:&lt;/p&gt;
&lt;p&gt;function sajasplit()&lt;br /&gt;
{&lt;br /&gt;
if(!$this-&amp;gt;$splitsent)&lt;br /&gt;
{&lt;br /&gt;
$this-&amp;gt;$splitsent = 1;&lt;br /&gt;
return '&amp;lt;saja_split&amp;gt;';&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Should be:&lt;/p&gt;
&lt;p&gt;function sajasplit()&lt;br /&gt;
{&lt;br /&gt;
if(!$this-&amp;gt;splitsent)&lt;br /&gt;
{&lt;br /&gt;
$this-&amp;gt;splitsent = 1;&lt;br /&gt;
return '&amp;lt;saja_split&amp;gt;';&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>