lib/muck_engine/flash_errors.rb in muck-engine-0.4.25 vs lib/muck_engine/flash_errors.rb in muck-engine-0.4.26
- old
+ new
@@ -38,10 +38,10 @@
:css_class => css_class }
end
# Output a page update that will display messages in the flash
def output_admin_messages(fields = nil, title = '', options = { :class => 'notify-box' }, flash_only = false)
- output_errors_ajax('admin-messages', fields, title, options, flash_only)
+ output_errors_ajax('admin-messages', title, options, fields, flash_only)
end
# Output a message that can be show for an ajax request.
# Parameters:
# dom_id: The id of the dom element that will contain the message content. If growl is enabled this value is irrelevant.
\ No newline at end of file