Skip to content

Commit 7a45762

Browse files
committedMay 6, 2012
Upgrade jQuery and jQuery UI to latest versions.
- jQuery UI from v1.8.14 to v1.8.20 - jQuery from v1.6.2 to v1.7.2 - Use filenames that reflect the version, makes versioning more explicit and avoids caching of such files across versions. - Added the non-minified version of jQuery for reference.
1 parent 15c23b1 commit 7a45762

7 files changed

+9579
-856
lines changed
 

‎core/html_api.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function require_css( $p_stylesheet_path ) {
354354
function html_css() {
355355
global $g_stylesheets_included;
356356
html_css_link( config_get( 'css_include_file' ) );
357-
html_css_link( 'jquery-ui.css' );
357+
html_css_link( 'jquery-ui-1.8.20.custom.css' );
358358
html_css_link( 'common_config.php' );
359359
# Add right-to-left css if needed
360360
if ( lang_get( 'directionality' ) == 'rtl' ) {
@@ -423,8 +423,8 @@ function html_head_javascript() {
423423
global $g_scripts_included;
424424
echo "\t<script type=\"text/javascript\" src=\"" . helper_mantis_url( 'javascript_config.php' ) . '"></script>' . "\n";
425425
echo "\t<script type=\"text/javascript\" src=\"" . helper_mantis_url( 'javascript_translations.php' ) . '"></script>' . "\n";
426-
html_javascript_link( 'jquery.js' );
427-
html_javascript_link( 'jquery-ui.js' );
426+
html_javascript_link( 'jquery-1.7.2.min.js' );
427+
html_javascript_link( 'jquery-ui-1.8.20.custom.min.js' );
428428
html_javascript_link( 'common.js' );
429429
foreach ( $g_scripts_included as $t_script_path ) {
430430
html_javascript_link( $t_script_path );

‎css/jquery-ui.css ‎css/jquery-ui-1.8.20.custom.css

+43-46
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*
2-
* jQuery UI CSS Framework 1.8.14
1+
/*!
2+
* jQuery UI CSS Framework 1.8.20
33
*
4-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
4+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
55
* Dual licensed under the MIT or GPL Version 2 licenses.
66
* http://jquery.org/license
77
*
@@ -13,12 +13,9 @@
1313
.ui-helper-hidden { display: none; }
1414
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
1515
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16-
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17-
.ui-helper-clearfix { display: inline-block; }
18-
/* required comment for clearfix to work in Opera \*/
19-
* html .ui-helper-clearfix { height:1%; }
20-
.ui-helper-clearfix { display:block; }
21-
/* end clearfix */
16+
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
17+
.ui-helper-clearfix:after { clear: both; }
18+
.ui-helper-clearfix { zoom: 1; }
2219
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
2320

2421

@@ -41,16 +38,16 @@
4138
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
4239

4340

44-
/*
45-
* jQuery UI CSS Framework 1.8.14
41+
/*!
42+
* jQuery UI CSS Framework 1.8.20
4643
*
47-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
44+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
4845
* Dual licensed under the MIT or GPL Version 2 licenses.
4946
* http://jquery.org/license
5047
*
5148
* http://docs.jquery.com/UI/Theming/API
5249
*
53-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller&ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
50+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
5451
*/
5552

5653

@@ -287,17 +284,17 @@
287284

288285
/* Overlays */
289286
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
290-
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
291-
* jQuery UI Resizable 1.8.14
287+
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*!
288+
* jQuery UI Resizable 1.8.20
292289
*
293-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
290+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
294291
* Dual licensed under the MIT or GPL Version 2 licenses.
295292
* http://jquery.org/license
296293
*
297294
* http://docs.jquery.com/UI/Resizable#theming
298295
*/
299296
.ui-resizable { position: relative;}
300-
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
297+
.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; }
301298
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
302299
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
303300
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
@@ -306,20 +303,20 @@
306303
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
307304
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
308305
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
309-
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
310-
* jQuery UI Selectable 1.8.14
306+
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*!
307+
* jQuery UI Selectable 1.8.20
311308
*
312-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
309+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
313310
* Dual licensed under the MIT or GPL Version 2 licenses.
314311
* http://jquery.org/license
315312
*
316313
* http://docs.jquery.com/UI/Selectable#theming
317314
*/
318315
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
319-
/*
320-
* jQuery UI Accordion 1.8.14
316+
/*!
317+
* jQuery UI Accordion 1.8.20
321318
*
322-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
319+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
323320
* Dual licensed under the MIT or GPL Version 2 licenses.
324321
* http://jquery.org/license
325322
*
@@ -335,10 +332,10 @@
335332
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
336333
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
337334
.ui-accordion .ui-accordion-content-active { display: block; }
338-
/*
339-
* jQuery UI Autocomplete 1.8.14
335+
/*!
336+
* jQuery UI Autocomplete 1.8.20
340337
*
341-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
338+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
342339
* Dual licensed under the MIT or GPL Version 2 licenses.
343340
* http://jquery.org/license
344341
*
@@ -350,7 +347,7 @@
350347
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
351348

352349
/*
353-
* jQuery UI Menu 1.8.14
350+
* jQuery UI Menu 1.8.20
354351
*
355352
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
356353
* Dual licensed under the MIT or GPL Version 2 licenses.
@@ -388,10 +385,10 @@
388385
font-weight: normal;
389386
margin: -1px;
390387
}
391-
/*
392-
* jQuery UI Button 1.8.14
388+
/*!
389+
* jQuery UI Button 1.8.20
393390
*
394-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
391+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
395392
* Dual licensed under the MIT or GPL Version 2 licenses.
396393
* http://jquery.org/license
397394
*
@@ -426,10 +423,10 @@ input.ui-button { padding: .4em 1em; }
426423

427424
/* workarounds */
428425
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
429-
/*
430-
* jQuery UI Dialog 1.8.14
426+
/*!
427+
* jQuery UI Dialog 1.8.20
431428
*
432-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
429+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
433430
* Dual licensed under the MIT or GPL Version 2 licenses.
434431
* http://jquery.org/license
435432
*
@@ -447,10 +444,10 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
447444
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
448445
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
449446
.ui-draggable .ui-dialog-titlebar { cursor: move; }
450-
/*
451-
* jQuery UI Slider 1.8.14
447+
/*!
448+
* jQuery UI Slider 1.8.20
452449
*
453-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
450+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
454451
* Dual licensed under the MIT or GPL Version 2 licenses.
455452
* http://jquery.org/license
456453
*
@@ -470,10 +467,10 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
470467
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
471468
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
472469
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
473-
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
474-
* jQuery UI Tabs 1.8.14
470+
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*!
471+
* jQuery UI Tabs 1.8.20
475472
*
476-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
473+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
477474
* Dual licensed under the MIT or GPL Version 2 licenses.
478475
* http://jquery.org/license
479476
*
@@ -488,10 +485,10 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
488485
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
489486
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
490487
.ui-tabs .ui-tabs-hide { display: none !important; }
491-
/*
492-
* jQuery UI Datepicker 1.8.14
488+
/*!
489+
* jQuery UI Datepicker 1.8.20
493490
*
494-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
491+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
495492
* Dual licensed under the MIT or GPL Version 2 licenses.
496493
* http://jquery.org/license
497494
*
@@ -555,14 +552,14 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
555552
left: -4px; /*must have*/
556553
width: 200px; /*must have*/
557554
height: 200px; /*must have*/
558-
}/*
559-
* jQuery UI Progressbar 1.8.14
555+
}/*!
556+
* jQuery UI Progressbar 1.8.20
560557
*
561-
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
558+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
562559
* Dual licensed under the MIT or GPL Version 2 licenses.
563560
* http://jquery.org/license
564561
*
565562
* http://docs.jquery.com/UI/Progressbar#theming
566563
*/
567-
.ui-progressbar { height:2em; text-align: left; }
564+
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
568565
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }

‎javascript/jquery-1.7.2.js

+9,404
Large diffs are not rendered by default.

‎javascript/jquery-1.7.2.min.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎javascript/jquery-ui-1.8.20.custom.min.js

+125
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎javascript/jquery-ui.js

-789
This file was deleted.

‎javascript/jquery.js

-18
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.