rem: unselectConnections(); connection.setType("selected"); if (label !== null) connection.setLabel(label); 
context:     jsPlumb.bind("click", function(connection) {			selected = 'connection';      connectionSelected = connection;      $.each(allStates, function(index, state){        state.active = false;      });			$('#editText').hide();      var label = connectionSelected.getLabel();			$("#signalEdit").fadeIn(400);			$('#signalselector').val(				$('#signalselector option').filter(function(){ return $(this).html() == label; }).val()			);			$("#signalselector").change(function(){				var newval = $('#signalselector option:selected').text();				connectionSelected.setLabel(newval);			});      $("#signalName").val('Enter New...');      //Style      $.each(allStates, function(index, state){        this.resetColor();      });	    unselectConnections();      connection.setType("selected");      if (label !== null) connection.setLabel(label);    });
meta: 10226	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10226/9bbd89a5e246f852ba2607cd177ea5d887760218/script.js/clean/player/Python/interface/www/_SCENARIO/script.js