[Phpmyadmin-devel] AJAXify phpMyAdmin Interface - GSOC 2011 - Add a new user in db-> privileges

Thilanka Kaushalya lgtkaushalya at gmail.com
Tue May 31 20:01:33 CEST 2011


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.


-- 
L G Thilanka Kaushalya
Computer Science & Engineering,
University of Moratuwa,
Sri Lanka

Connect with me at,
      Gmail        : lgtkaushalya at gmail.com
      Twitter       : @thilanka_k
      Facebook  : Thilanka Kaushalya
      Yahoo       : lgtkaushalya at yahoo.com
      Blog          : http://coders-view.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110531/58587424/attachment.html>


More information about the Developers mailing list