| @@ -1061,8 +1061,11 @@ | ||
| 1061 | 1061 | |
| 1062 | 1062 | // delete editor related data. |
| 1063 | 1063 | delete_post_meta( $chart_id, Visualizer_Plugin::CF_EDITOR ); |
| 1064 | 1064 | |
| 1065 | + // delete this so that a JSON import can be later edited manually without a problem. | |
| 1066 | + delete_post_meta( $chart_id, Visualizer_Plugin::CF_EDITABLE_TABLE ); | |
| 1067 | + | |
| 1065 | 1068 | $source = null; |
| 1066 | 1069 | $render = new Visualizer_Render_Page_Update(); |
| 1067 | 1070 | if ( isset( $_POST['remote_data'] ) && filter_var( $_POST['remote_data'], FILTER_VALIDATE_URL ) ) { |
| 1068 | 1071 | $source = new Visualizer_Source_Csv_Remote( $_POST['remote_data'] ); |