   	message = "showing new text bit form"
   	type = "warning"
   	$('#map').append($(data))
+  	$('#new_bit textarea').focus()
   
   return this
 

##########################################################################################

$(document).ready ->

	# TODO: find a better way of keeping track of X/Y, without binding to mouse
	map = $('body').on "mousemove", (e) -> 


			$(root.hoveredBit).find('.front.face').load "/bits/#{  root.hoveredBitIDNumber }/edit"
			$(root.hoveredBit).addClass('editing')
			$('#bit_content').focus()

		else
			m = showNotification "not a text bit - can't edit ", "warning"
