- Added "if(isset($_REQUEST['ajax_request']) && isset($_REQUEST['table_mainrenance'])) {}" condition to sql.php file in order to handle the table maintenance action and return the results with those useful information.
- Change the logic in "$("#tbl_maintenance.ajax li").live('click')" action to get the results sent by sql.php file and then show it in the table operations page using ajax.
Then after Marc showed me a new bug where the documentation links are not functioned properly, I changed the "$("#tbl_maintenance.ajax li").live('click')" action to "$("#tbl_maintenance.ajax li a.maintain_action").live('click')" and changed the tbl_operations.js file according to that.
After all these changes this option seems working properly and I'm waiting for the response by Marc.
Since I skip ajaxify the "Table options" in table operations after discussing with Marc due to inefficiency of doing that, Marc asked me to find a new task instead of that. I went trough various options in PMA and could not find a suitable action which is really need ajax behavior at this moment. Then I went through the "Ajaxify Interface" section in PMA wiki and found that the ajaxification of table insert is remaining as a to do task. After discussing with Marc he mentioned that this is not necessary at this stage and he asked me to involve with more useful task which is rewrite the querywindow.js file using jquery.
The querywindow.js file contains four function which are
- PMA_queryAutoCommit()
- PMA_querywindowCommit(tab)
- PMA_querywindowSetFocus()
- PMA_querywindowResize().
I rewrote the 2nd and 3rd functions using jquery and works fine for testing.
Next week I'll continue with rewriting the querywindow.js functions.
Thermal insulation in Riyadh*insulation of foam in Riyadh*detecting water leaks in Riyadh*surface insulation*spraying insecticides at home*isolate tanks in Riyadh*Water Insulation in Riyadh*Detect water leakage in Riyadh*clean houses in Riyadh in record time*moving furniture in Riyadh
ReplyDelete