I worked with my 7th week task which is to implementing the "Change one column in Table structure".
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.
Also I reused "$("#append_fields_form input[name=do_save_data].ajax").live('click')" action which was built for the multi_colum change.
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.
--
L G Thilanka Kaushalya Computer Science & Engineering,