Fixed bug in refresing the navigation after table operations

This commit is contained in:
Thilanka Kaushalya 2011-08-02 21:33:47 +05:30
parent 4796a6ccd0
commit 18310f6b40

View File

@ -2000,6 +2000,11 @@ $(document).ready(function() {
$("#result_query .notice").remove();
$("#result_query").prepend((data.message));
$("#copyTable").find("select[name='target_db'] option[value="+data.db+"]").attr('selected', 'selected');
//Refresh navigation frame as a new table has been added
if (window.parent && window.parent.frame_navigation) {
window.parent.frame_navigation.location.reload();
}
} else {
$temp_div = $("<div id='temp_div'></div>")
$temp_div.html(data.error);