Skip to content
Snippets Groups Projects
Commit 0d2a3aec authored by Mohammad Jangda's avatar Mohammad Jangda
Browse files

XML Pull: for xpath, grab the last entry and clone that

parent 4a525462
No related branches found
No related tags found
No related merge requests found
......@@ -593,7 +593,7 @@ class Syndication_WP_XML_Client implements Syndication_Client {
$( '.syn-pull-xpath-add-new' ).on( 'click', function( e ) {
e.preventDefault();
var $last_form = $( '.syn-xml-client-xpath-form:first' ),
var $last_form = $( '.syn-xml-client-xpath-form:last' ),
$new_form = $last_form.clone(),
original_row_count = parseInt( $last_form.attr( 'data-row-count' ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment