<br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 7:40 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Le 2011-07-15 10:00, Ammar Yasir a écrit :<br>
> On Fri, Jul 15, 2011 at 7:26 PM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>> wrote:<br>
><br>
>> Le 2011-07-14 15:39, Ammar Yasir a écrit :<br>
>><br>
>>>>> There was a small thing I noticed on the row edit feature.<br>
>>>>> When the form is displayed for row edit and some field is null, the<br>
>> 'Null'<br>
>>>>> checkbox is checked. When we select some value it is unchecked. It<br>
>> should be<br>
>>>>> checked again if we select the value empty or null but it does not. If<br>
>> we<br>
>>>>> forget to check it back this will give an SQL error.<br>
>>>>> Screenshot attached for the sakila db film table where<br>
>>>>> original_language_id is null, and if I miss checking it back I'll get<br>
>> an SQL<br>
>>>>> error.<br>
>>>>><br>
>>>><br>
>>> Sorry, missed the screenshots in previous mail. They are on my blog:<br>
>>> <a href="http://ammaryasirr.blogspot.com/" target="_blank">http://ammaryasirr.blogspot.com/</a><br>
>><br>
>> I think you'll need to include js/tbl_change.js. There are a few<br>
>> functions in there that deal with these kind of verifications. Beware,<br>
>> some functions are not jQueryfied.<br>
>><br>
>> I found this problem in the tbl_change.php (when you edit a row from the<br>
> table browse window) page. That includes the tbl_change.js script.<br>
<br>
I believed you meant when editing from zoom-search, sorry. But I tried<br>
with browse then editing the sakila.film and I don't see a problem.<br>
<br>
Emptying a value is not the same thing as marking it NULL, this is why<br>
the checkbox is there. Please give me a more precise scenario to work<br>
with, including the SQL error you get.<br>
<br>
<br></blockquote><div>If i try the film table in sakila database, and edit any row. The original_language_id is null initally and if I select andy value the check is unchecked. Then again if I select ' ' in the select box, I though it should turn the check back on, just in case if I forget it gives an error. <br>
<br>The screen shots are on my blog <a href="http://ammaryasirr.blogspot.com/">http://ammaryasirr.blogspot.com/</a> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
------------------------------------------------------------------------------<br>
AppSumo Presents a FREE Video for the SourceForge Community by Eric<br>
Ries, the creator of the Lean Startup Methodology on "Lean Startup<br>
Secrets Revealed." This video shows you how to validate your ideas,<br>
optimize your ideas and identify your business strategy.<br>
<a href="http://p.sf.net/sfu/appsumosfdev2dev" target="_blank">http://p.sf.net/sfu/appsumosfdev2dev</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</blockquote></div><br>