Hi Marc,
I worked with my second task for this week which is to add a show/hide index
table to toggle the index table in table structure. I added the logic to the
tbl_structure.js file. I pushed my changes to the repo. Please check that.
Thank you.
Regards,
Thilanka.
--
L G Thilanka Kaushalya
Computer Science & Engineering,
University of Moratuwa,
Sri Lanka
Connect with me at,
Gmail : lgtkaushalya(a)gmail.com
Twitter : @thilanka_k
Facebook : Thilanka Kaushalya
Yahoo : lgtkaushalya(a)yahoo.com
Blog : http://coders-view.blogspot.com/
Hi Marc,
I started working with ajaxify the Index->Edit option in Table->Structure. I
added the following two action for tbl_structure.js file to handle the
ajax.
1. $("#table_index tbody tr td.edit_index.ajax").live('click') -
Correctly loads the "*index_frm*" to a dialog box
2. $("#index_frm.ajax input[name=do_save_data]").live('click') - which
try to save the action.
But when I try to change the "*Index type*" it shows an js error in firebug.
Then I checked it with non ajax event of index edit. In that case also it
gives an error. It seems there is an error in the previously development
which does not match the name of the option elements. Should I correct that
or just consider on ajax event only.
Regards,
Thilanka.
--
L G Thilanka Kaushalya
Computer Science & Engineering,
University of Moratuwa,
Sri Lanka
Connect with me at,
Gmail : lgtkaushalya(a)gmail.com
Twitter : @thilanka_k
Facebook : Thilanka Kaushalya
Yahoo : lgtkaushalya(a)yahoo.com
Blog : http://coders-view.blogspot.com/
Ammar,
In commit eaea0030641c6be215915684bcd40930ae2d61c8 there was a link "How
to use" which was lost in commit 543df4c802d7f21dc0443b207390c4353cfacf4f ?
--
Marc Delisle
http://infomarc.info
Ammar,
I don't understand the goal of the Mode (Browse/edit) dialog. It seems
that with either modes I am able to bring a row to edit it (although
submitting the changes is not yet ready).
--
Marc Delisle
http://infomarc.info
Ammar,
The following problem is still unresolved. Are you using the phpMyAdmin
configuration storage [0] to test it?
> - Default label is taken from PMA_getDisplayField()
I tested and it does not work for me (I have defined a display field for
the film table and it does not show up as a default label).
[0] http://www.phpmyadmin.net/documentation/Documentation.html#linked-tables
--
Marc Delisle
http://infomarc.info