Hi Marc,
- In "*Delete data or table*" section currently there is a
"*("#truncate_tbl_anchor").live('click'')*" action in functions.js file. In there after using the $.get() function, the two frames are reloaded. We can modify this action to stay at the same page after "*Truncate the table*". We cannot apply ajax to "*Delete the table(Drop)*" option because anyhow we have to quit the "*Table options*" after deleting the table.
Agreed.
I changed the logic in "#truncate_tbl_anchor" as it handles the ajax submission and pushed the changes to the repo. Can you please check that. Thank you.
Regards, Thilanka.
Thilanka Kaushalya a écrit :
Hi Marc,
> 3. In "*Delete data or table*" section currently there is a > "*("#truncate_tbl_anchor").live('click'')*" action in functions.js > file. In there after using the $.get() function, the two frames > are reloaded. We can modify this action to stay at the same page > after "*Truncate the table*". We cannot apply ajax to "*Delete the > table(Drop)*" option because anyhow we have to quit the "*Table > options*" after deleting the table. Agreed.
I changed the logic in "#truncate_tbl_anchor" as it handles the ajax submission and pushed the changes to the repo. Can you please check that. Thank you.
Thilanka, it works fine. I'll merge when the other stuff in table operations is done.