  def set_description
    Log.add_info(request, params.inspect)

    if params[:id].nil? or params[:id].empty?
      @item = Item.new_info(0)
      @item.attributes = params.require(:item).permit(Item::PERMIT_BASE)
      @item.user_id = @login_user.id
      @item.title = t('paren.no_title')
      @item.save
    else
      @item = Item.find(params[:id])
      @item.update_attributes(params.require(:item).permit(Item::PERMIT_BASE))
    end

    render(:partial => 'ajax_item_description', :layout => false)

  rescue => evar
    Log.add_error(request, evar)
    render(:partial => 'ajax_item_description', :layout => false)
  end