[Phpmyadmin-devel] AJAXify phpMyAdmin Interface - GSOC 2011 - Table->Structure ->Column->Change

Marc Delisle marc at infomarc.info
Sat Jul 9 00:33:19 CEST 2011


Le 2011-07-08 14:46, Thilanka Kaushalya a écrit :
> Hi Marc,
>
> I worked with my 7th week task which is to implementing the "Change one
> column in Table structure".
>
>    1. I tried to reuse the code, which I was developed for multi_column
>       change earlier. So I moved the common logic to
>       changeColumns(action,$url) function which is in the
>       tbl_structure.js file. Should I move the code to functions.js file.
>    2. Also I reused "*$("#append_fields_form
>       input[name=do_save_data].ajax").live('click')*" action which was
>       built for the multi_colum change.
>    3. Then I developed the "*$("#fieldsForm.ajax #tablestructure tbody
>       tr td.edit a").live('click')*" action which loads the change
>       dialog for the user.
>
> I pushed my changes to the repo. Please check that. Thank you.
>
> Regards,
> Thilanka.

Interesting feature; however I found a problematic case. Let's say you 
have an ENUM in the table. Try to change its structure then click on 
"Get more editing space", "Add a value": you can't type a new value.


-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list