vendor/plugins/facebox_render/lib/facebox_render.rb
# close an existed facebox, you can pass a block to update some messages
close an existed facebox, you can pass a block to update some messages
close an existed facebox you can pass a block to update some messages
def close_facebox
    render :update do |page|
      page << "jQuery.facebox.close();"
      yield(page) if block_given?
    end
  end
def close_facebox render :update do | page | page << "jQuery.facebox.close();" yield ( page ) if block_given? end end
close an existed facebox, you can pass a block to update some messages
close an existed facebox you can pass a block to update some messages