| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | $this->process_action_messages( array( |
| 41 | 41 | 'error_add' => __( 'Error: The table could not be added.', 'tablepress' ), |
| 42 | 42 | ) ); |
| 43 | 43 | |
| 44 | - TablePress::enqueue_script( 'add' ); | |
| 44 | + $this->admin_page->enqueue_script( 'add' ); | |
| 45 | 45 | |
| 46 | 46 | $this->add_text_box( 'head', array( $this, 'textbox_head' ), 'normal' ); |
| 47 | 47 | $this->add_text_box( 'add-table', array( $this, 'textbox_add_table' ), 'normal' ); |
| 48 | 48 | } |