From 1c31a26b564ad554f5262a0b25c32a9a847688e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 14 Jan 2010 18:09:07 +0000 Subject: [PATCH] Replaced stackfix with bgiframe. Fixes #5061 - Remove stackfix. --- build/build.xml | 1 - demos/dialog/animated.html | 4 +- demos/dialog/default.html | 4 +- demos/dialog/modal-confirmation.html | 4 +- demos/dialog/modal-form.html | 4 +- demos/dialog/modal-message.html | 4 +- demos/dialog/modal.html | 4 +- demos/index.html | 2 +- external/jquery.bgiframe-2.1.1.js | 10 +++++ tests/unit/dialog/dialog.html | 2 +- tests/unit/dialog/dialog_defaults.js | 2 +- tests/visual/dialog/default.html | 2 +- tests/visual/dialog/dialog.html | 2 +- .../dialog/dialog_on_page_with_large_dom.html | 2 +- .../dialog_on_page_with_scrollbars.html | 2 +- .../dialog_option_buttons_OK_Cancel.html | 2 +- .../dialog_option_closeOnEscape_false.html | 2 +- .../dialog_option_closeOnEscape_true.html | 2 +- .../dialog/dialog_option_modal_false.html | 2 +- .../dialog/dialog_option_modal_true.html | 2 +- tests/visual/dialog/dialog_ticket_4826.html | 2 +- ui/jquery.ui.dialog.js | 6 +-- ui/jquery.ui.position.js | 2 +- ui/jquery.ui.stackfix.js | 40 ------------------- 24 files changed, 39 insertions(+), 70 deletions(-) create mode 100644 external/jquery.bgiframe-2.1.1.js delete mode 100644 ui/jquery.ui.stackfix.js diff --git a/build/build.xml b/build/build.xml index 603916ed7..cf7d776a7 100644 --- a/build/build.xml +++ b/build/build.xml @@ -206,7 +206,6 @@ - diff --git a/demos/dialog/animated.html b/demos/dialog/animated.html index dd84b25d4..43dfed061 100644 --- a/demos/dialog/animated.html +++ b/demos/dialog/animated.html @@ -4,20 +4,20 @@ jQuery UI Dialog - Animation + - + - + @@ -11,7 +12,6 @@ - + @@ -11,7 +12,6 @@ - @@ -73,7 +73,7 @@ } $("#dialog-form").dialog({ - stackfix: true, + bgiframe: true, autoOpen: false, height: 300, width: 350, diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html index 0fdae6a06..6478b84d9 100644 --- a/demos/dialog/modal-message.html +++ b/demos/dialog/modal-message.html @@ -4,6 +4,7 @@ jQuery UI Dialog - Modal message + @@ -11,7 +12,6 @@ - + - + - diff --git a/external/jquery.bgiframe-2.1.1.js b/external/jquery.bgiframe-2.1.1.js new file mode 100644 index 000000000..ef8679d90 --- /dev/null +++ b/external/jquery.bgiframe-2.1.1.js @@ -0,0 +1,10 @@ +/* Copyright (c) 2006 Brandon Aaron (http://brandonaaron.net) + * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) + * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. + * + * $LastChangedDate: 2007-07-21 18:45:56 -0500 (Sat, 21 Jul 2007) $ + * $Rev: 2447 $ + * + * Version 2.1.1 + */ +(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&/6.0/.test(navigator.userAgent)){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n;},html='