From 642d20cecd11f2392896e7593986c635eeb0b7f1 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Thu, 19 Jan 2012 15:48:17 -0800 Subject: [PATCH] update cdn jquery, fix #2699 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d0f12da91..629b6cabc 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -37,7 +37,7 @@ module ApplicationHelper end def jquery_include_tag - javascript_include_tag('//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js') + + javascript_include_tag('//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js') + content_tag(:script) do "!window.jQuery && document.write(unescape(\"#{escape_javascript(include_javascripts(:jquery))}\")); jQuery.ajaxSetup({'cache': false});".html_safe end