Project

General

Profile

« Previous | Next » 

Revision 0a87c177

Added by Tomer Brisker about 9 years ago

Fixes #4787 - prevent unneeded AJAX requests on popover clicks

(cherry picked from commit 71b46a7296d01553a471833d34e3b55d0413545d)

View differences:

app/helpers/layout_helper.rb
end
def popover(title, msg, options = {})
link_to icon_text("info-sign", title), {}, { :remote => true, :rel => "popover", :data => {"content" => msg, "original-title" => title} }.merge(options)
content_tag(:a, icon_text("info-sign", title), { :rel => "popover", :data => {"content" => msg, "original-title" => title} }.merge(options))
end
def will_paginate(collection = nil, options = {})

Also available in: Unified diff