Le 2011-06-25 07:39, Thilanka Kaushalya a écrit :
Hi Marc,
Even though my "AJAXify Table->Browse ->Mutiple rows-> Export" option
is
not yet finished, since my this weeks task is "*Ajaxify Table->Structure
->Mutiple rows->Change*", I worked with it and now it seems working
correctly.
1. In this I tried to reuse the
"*if($("input[type='hidden'][name='table_type']").val() ==
"table")" *code segment and placed it in
"*displayMoreTableOpts()*" function in functions.js.
2. I used the table structure.js for handling the change event.
I have pushed the code to the repo. Please check that. Thank you.
Thilanka,
the success case works well. In case of error (for example, renaming a
column with an existing column name), tbl_alter.php does not return JSON
and the user is not notified of the problem.
--
Marc Delisle
http://infomarc.info