wire/modules/Inputfield/InputfieldImage/InputfieldImage.js
/**
	 * Tear down the InputfieldImageEdit panel
	 *
	 * @param $edit
	 *
	 */
Tear down the InputfieldImageEdit panel
@param $edit
Tear down the InputfieldImageEdit panel @param $edit
function tearDownEdit($edit) {
		stopFocus($edit);
		$edit.off('click', '.InputfieldImageButtonFocus');
		$inputArea = $edit.find(".InputfieldImageEdit__edit");
		if($inputArea.children().not(".InputfieldFileSort").length) {
			var $items = $inputArea.children();
			$("#" + $inputArea.attr("data-current")).find(".ImageData").append($items);
		}
	}
function tearDownEdit ( $edit ) { stopFocus ( $edit ) ; $edit . off ( 'click' , '.InputfieldImageButtonFocus' ) ; $inputArea = $edit . find ( ".InputfieldImageEdit__edit" ) ; if ( $inputArea . children ( ) . not ( ".InputfieldFileSort" ) . length ) { var $items = $inputArea . children ( ) ; $ ( "#" + $inputArea . attr ( "data-current" ) ) . find ( ".ImageData" ) . append ( $items ) ; } }
Tear down the InputfieldImageEdit panel
 @param $edit
Tear down the InputfieldImageEdit panel @param $edit
//console.log('tearDown moving items back to #' + $inputArea.attr('data-current'));