From: Tara L Andrews Date: Thu, 18 Jul 2013 04:29:03 +0000 (+0200) Subject: re-enable merge button after successful merge X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bfb6d17fbac27171a925e3e1b2fda41d9c383784;p=scpubgit%2Fstemmaweb.git re-enable merge button after successful merge --- diff --git a/root/js/relationship.js b/root/js/relationship.js index 155c611..c405305 100644 --- a/root/js/relationship.js +++ b/root/js/relationship.js @@ -1041,6 +1041,7 @@ $(document).ready(function () { ncpath = getTextURL( 'merge' ); var jqjson = $.post( ncpath, form_values, function( data ) { merge_nodes( $( '#source_node_id' ).val(), $( '#target_node_id' ).val(), data ); + $(evt.target).button( 'enable' ); $( '#dialog-form' ).dialog( 'close' ); } ); },