[#725] Add compatibility check for jQuery availability
In the current master a.k.a. ChiliProject 2.x, there is no jQuery loaded by core.
This commit is contained in:
parent
e6fe1fc776
commit
13da5e0445
|
@ -21,5 +21,14 @@ module ChiliProject
|
|||
Journal.included_modules.include?(Redmine::Acts::Journalized)
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue