allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [6/6] git commit: [#7213] ticket:553 Fixed jquery.lightbox_me plugin 'access denied' errors for IE9-11
Date Thu, 27 Mar 2014 21:41:30 GMT
[#7213] ticket:553 Fixed jquery.lightbox_me plugin 'access denied' errors for IE9-11


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/87b85e1b
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/87b85e1b
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/87b85e1b

Branch: refs/heads/master
Commit: 87b85e1b00f66c097ab1cffe9b546b08259dc75b
Parents: 9688019
Author: Ferens Dmitriy <ferensdima@gmail.com>
Authored: Fri Mar 7 16:21:18 2014 +0200
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Mar 27 21:29:44 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/widgets/resources/js/jquery.lightbox_me.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/87b85e1b/Allura/allura/lib/widgets/resources/js/jquery.lightbox_me.js
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/js/jquery.lightbox_me.js b/Allura/allura/lib/widgets/resources/js/jquery.lightbox_me.js
index aa24807..fce2fe0 100644
--- a/Allura/allura/lib/widgets/resources/js/jquery.lightbox_me.js
+++ b/Allura/allura/lib/widgets/resources/js/jquery.lightbox_me.js
@@ -27,16 +27,16 @@
                 opts = $.extend({}, $.fn.lightbox_me.defaults, options),
                 $overlay = $(),
                 $self = $(this),
-                $iframe = $('<iframe id="foo" style="z-index: ' + (opts.zIndex + 1) +
';border: none; margin: 0; padding: 0; position: absolute; width: 100%; height: 100%; top:
0; left: 0; filter: mask();"/>'),
+                $iframe = $('<iframe />', {style: 'z-index: ' + (opts.zIndex + 1) +
';border: none; margin: 0; padding: 0; position: absolute; width: 100%; height: 100%; top:
0; left: 0; filter: mask();'});
                 ie6 = ($.browser.msie && $.browser.version < 7);
 
             if (opts.showOverlay) {
                 //check if there's an existing overlay, if so, make subequent ones clear
                var $currentOverlays = $(".js_lb_overlay:visible");
                 if ($currentOverlays.length > 0){
-                    $overlay = $('<div class="lb_overlay_clear js_lb_overlay"/>');
+                    $overlay = $('<div/>', {'class': 'lb_overlay_clear js_lb_overlay'});
                 } else {
-                    $overlay = $('<div class="' + opts.classPrefix + '_overlay js_lb_overlay"/>');
+                    $overlay = $('<div/>', {'class': opts.classPrefix + '_overlay js_lb_overlay'});
                 }
             }
 
@@ -251,4 +251,4 @@
         modalCSS: {top: '40px'},
         overlayCSS: {background: 'black', opacity: .3}
     }
-})(jQuery);
\ No newline at end of file
+})(jQuery);


Mime
View raw message