diff --git a/js/jquery.ba-bbq.js b/js/jquery.ba-bbq.js index 84a9f05ff..bdf27e69b 100644 --- a/js/jquery.ba-bbq.js +++ b/js/jquery.ba-bbq.js @@ -1,3 +1,11 @@ +/*! + * Combodo: issued from https://github.com/cee-chen/jquery-bbq + * fork from http://github.com/cowboy/jquery-bbq/ + * + * IMPORTANT: Part for detecting MSIE has been removed as it was not present in the previous version and is making the app crash. + * It's far from perfect but as mentioned in the previous commit, we don't have much choices for now + */ + /*! * jQuery BBQ: Back Button & Query Library - v1.3pre - 8/26/2010 * http://benalman.com/projects/jquery-bbq-plugin/ @@ -1280,97 +1288,7 @@ timeout_id = setTimeout( poll, $.fn[ str_hashchange ].delay ); }; - - // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - // vvvvvvvvvvvvvvvvvvv REMOVE IF NOT SUPPORTING IE6/7/8 vvvvvvvvvvvvvvvvvvv - // vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv - $.browser.msie && !supports_onhashchange && (function(){ - // Not only do IE6/7 need the "magical" Iframe treatment, but so does IE8 - // when running in "IE7 compatibility" mode. - - var iframe, - iframe_src; - - // When the event is bound and polling starts in IE 6/7, create a hidden - // Iframe for history handling. - self.start = function(){ - if ( !iframe ) { - iframe_src = $.fn[ str_hashchange ].src; - iframe_src = iframe_src && iframe_src + get_fragment(); - - // Create hidden Iframe. Attempt to make Iframe as hidden as possible - // by using techniques from http://www.paciellogroup.com/blog/?p=604. - iframe = $('