From 24644ca6cb58899c87d71dfd8f05aaf8d48d4695 Mon Sep 17 00:00:00 2001 From: Saif Sultan Date: Thu, 29 May 2025 12:32:42 +0530 Subject: [PATCH] `gpnf-sortable-entries.php`: Fixed an issue with Sortable Entries snippet not working with Gravity Flow. --- gp-nested-forms/gpnf-sortable-entries.php | 1 + 1 file changed, 1 insertion(+) diff --git a/gp-nested-forms/gpnf-sortable-entries.php b/gp-nested-forms/gpnf-sortable-entries.php index f906b2ccd..2ad8f6787 100644 --- a/gp-nested-forms/gpnf-sortable-entries.php +++ b/gp-nested-forms/gpnf-sortable-entries.php @@ -185,6 +185,7 @@ public function load_form_script( $form, $is_ajax_enabled ) { if ( $this->is_applicable_form( $form ) && ! has_action( 'wp_footer', array( $this, 'output_script' ) ) ) { add_action( 'wp_footer', array( $this, 'output_script' ) ); add_action( 'gform_preview_footer', array( $this, 'output_script' ) ); + add_action( 'admin_footer', array( $this, 'output_script' ) ); } return $form;