;(function($){"use strict";ips.controller.register('convert.admin.forms.reactionmapper',{initialize:function(){var id=$(this.scope).data('reactionid');this.on(document,'click',"#elReactionMapper"+id+"_menu [data-action='selectReaction']",this.selectReaction);this.setup();},setup:function(){this.scope.find('[data-default="true"]').trigger('click');},selectReaction:function(e){e.preventDefault();var menuItem=$(e.target);this.scope.find('.elMenuSelect_replace').html(menuItem.html());this.scope.find('input[type=hidden]').val(menuItem.data('id'));}});}(jQuery));;