Commit: 84a34283532e386b0567edcf3b7c396a5b9a8d33 Author: Sobak <msobaczew...@gmail.com> Tue, 2 May 2017 04:28:38 +0200 Parents: 071bb351d294aa74350a4cd63722bef2b7a5d33f Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=84a34283532e386b0567edcf3b7c396a5b9a8d33 Log: Apply workaround for jquery.ba-bbq.min.js error This library should be replaced with something what isn't unmaintained since 2010, though. For more information see: https://github.com/cowboy/jquery-bbq/issues/52 https://github.com/cowboy/jquery-bbq/pull/50 Changed paths: M pulls/pullrequests.js Diff: diff --git a/pulls/pullrequests.js b/pulls/pullrequests.js index e535cb3..ba502c7 100644 --- a/pulls/pullrequests.js +++ b/pulls/pullrequests.js @@ -1,3 +1,17 @@ +// Workaround for jquery.ba-bbq problems with newer jQuery version +// This library should be replaced with something what isn't unmaintained +// since 2010, though. +// @see https://github.com/cowboy/jquery-bbq/issues/52 +jQuery.browser = {}; +(function () { + jQuery.browser.msie = false; + jQuery.browser.version = 0; + if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) { + jQuery.browser.msie = true; + jQuery.browser.version = RegExp.$1; + } +})(); + function repoList(baseurl, org) { this.url = baseurl+'orgs/'+org+'/repos?per_page=100'; this.data = {data:[]}; -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php