Skip to content

Commit

Permalink
Merge remote-tracking branch 'iox/fix_ajax_default_function'
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen committed Aug 6, 2012
2 parents 288a70e + 3369604 commit ac1d995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def ajax_update_response(render_specs, results={}, options={})

page = options[:preamble] || "var _update = typeof Hobo == 'undefined' ? Element.update : Hobo.updateElement;\n"
for spec in render_specs
function = spec[:function] || "_update"
function = spec[:function] || "hjq.ajax.update"
dom_id = spec[:id]

if spec[:part_context]
Expand Down

0 comments on commit ac1d995

Please sign in to comment.