Hi Mark,
I worked with ajaxify the copy table option in Table operations.
1. I added "*$("#copyTable.ajax").live('submit',)*" action to the functions.js file which handles the ajax submission of the copy table form. 2. Then I modified the tbl_operations.js file and the tbl_move_copy.php file which handles that ajax request.
I pushed my changes to the repo. Please check that. Thank you.
Regards, Thilanka.
Le 2011-07-31 02:56, Thilanka Kaushalya a écrit :
Hi Mark,
I worked with ajaxify the copy table option in Table operations.
- I added "*$("#copyTable.ajax").live('submit',)*" action to the
functions.js file which handles the ajax submission of the copy table form. 2. Then I modified the tbl_operations.js file and the tbl_move_copy.php file which handles that ajax request.
I pushed my changes to the repo. Please check that. Thank you.
Thilanka,
please test more before submitting features:
- the navigation frame no longer refreshes automatically - the "switch to copied table" option no longer works
Hi Marc,
Sorry for the inconvenience you faced because of my buggy commit.
Thilanka,
please test more before submitting features:
- the navigation frame no longer refreshes automatically
I cannot understand where we need to refresh the navigation bar. Since we just copy the table to another database we need not to refresh the navigation bar at this moment. If I'm wrong pls correct me.
- the "switch to copied table" option no longer works
I fixed the issue by adding a form submit if the "switch to copied table" option selected, because it need to redirect to a new database.
I commit the changes to the repo. Please check that. Thank for helping me.
Regards, Thilanka.
Le 2011-07-31 13:31, Thilanka Kaushalya a écrit :
Hi Marc,
Sorry for the inconvenience you faced because of my buggy commit.
Thilanka,
please test more before submitting features:
- the navigation frame no longer refreshes automatically
I cannot understand where we need to refresh the navigation bar. Since we just copy the table to another database we need not to refresh the navigation bar at this moment. If I'm wrong pls correct me.
Not the navigation bar, the navigation frame (or panel) on the left side, with the list of tables.
- the "switch to copied table" option no longer works
I fixed the issue by adding a form submit if the "switch to copied table" option selected, because it need to redirect to a new database.
OK.