Commit be44bbe5 authored by Gregor Schmidt's avatar Gregor Schmidt

[#725] Add compatibility check for jQuery availability

In the current master a.k.a. ChiliProject 2.x, there is
no jQuery loaded by core.
parent 574419bb
...@@ -21,5 +21,14 @@ module ChiliProject ...@@ -21,5 +21,14 @@ module ChiliProject
Journal.included_modules.include?(Redmine::Acts::Journalized) Journal.included_modules.include?(Redmine::Acts::Journalized)
end end
# Is any jQuery version available on all pages?
#
# This does not take modifications into account, that may be performed by
# plugins.
#
# Released: ChiliProject 2.5.0
def self.using_jquery?
false
end
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment