Hi Marc,<div><br></div><div>I updated the repo with my latest changes to the "Add a new user" in db->privileges. Now it correctly popup the dialog when a user clicks on the "Add a new user" in db->privileges and then updates the userTable after submitting the form. Please check that. </div>
<div> </div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm not sure why sometimes the returned data is not considered to be an<br>
object. It might be because, in the case of long strings, we are not<br>
respecting JSON in some manner. In this case, you can use logic similar<br>
to the one in sql.js where we use typeof<br>
<br>
if (typeof data.success != 'undefined') {<br>
...<br>
} else {<br>
...<br>
}<br>
<br>
<br></blockquote><div>I used the var obj = $.parseJSON(mydata); function to validate the json string. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
P.S. are you using Firebug? it's an invaluable tool to debug these kind<br>
of things.<br>
<div><div></div><div class="h5"><br>
<br></div></div></blockquote><div>I'm using the firebug tool. </div><div><br></div><div><br></div><div>Regards,</div><div>Thilanka. </div></div><br clear="all"><br>-- <br><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><div style="text-align:left">
L G Thilanka Kaushalya <br>Computer Science & Engineering, <br><div style="color:rgb(80, 0, 80)">University of Moratuwa,<br>Sri Lanka<span></span><br> <br></div></div>Connect with me at,<br>
Gmail : <a href="mailto:lgtkaushalya@gmail.com" style="color:rgb(0, 0, 204)" target="_blank">lgtkaushalya@gmail.com</a><br> Twitter : @thilanka_k<br> Facebook : Thilanka Kaushalya<br> Yahoo : <a href="mailto:lgtkaushalya@yahoo.com" style="color:rgb(0, 0, 204)" target="_blank">lgtkaushalya@yahoo.com</a></span></div>
<div> Blog : <a href="http://coders-view.blogspot.com/" target="_blank">http://coders-view.blogspot.com/</a></div><br><br>
</div>