re-enable merge button after successful merge
Tara L Andrews [Thu, 18 Jul 2013 04:29:03 +0000 (06:29 +0200)]
root/js/relationship.js

index 155c611..c405305 100644 (file)
@@ -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' );
                  } );
          },