Hi Marc,
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.
I'm not sure why sometimes the returned data is not considered to be an object. It might be because, in the case of long strings, we are not respecting JSON in some manner. In this case, you can use logic similar to the one in sql.js where we use typeof
if (typeof data.success != 'undefined') { ... } else { ... }
I used the var obj = $.parseJSON(mydata); function to validate the json
string.
P.S. are you using Firebug? it's an invaluable tool to debug these kind of things.
I'm using the firebug tool.
Regards, Thilanka.