[#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:
Gregor Schmidt 2011-11-25 20:18:10 +01:00
parent e6fe1fc776
commit 13da5e0445
1 changed files with 9 additions and 0 deletions

View File

@ -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