You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how to make a patch but for a fix - my git diff looks like this
@@ -258,6+258,9 @@
options.context=$containeroptions.success=function(data,textStatus,jqXHR){++var$data=$(data);+if(options.fragment){// If they specified a fragment, look for it in the response// and pull it out.
@@ -275,11+278,14 @@
// Make it happen.this.html(data);-+// If there's a <title> tag in the response, use it as// the page's title.-varoldTitle=document.title,-title=$.trim(this.find('title').remove().text());+varoldTitle=document.title;++title=findAll($data,'title').last().text()+//title = $.trim( data.find('title').remove().text() );+if(title)document.title=title;varstate={
@@ -363,6+369,24 @@
returnpjax.xhr;}+// Internal: Filter and find all elements matching the selector.+//+// Where $.fn.find only matches descendants, findAll will test all the+// top level elements in the jQuery object as well.+//+// elems - jQuery object of Elements+// selector - String selector to match+//+// Returns a jQuery object.+functionfindAll(elems,selector){+varresults=$()+elems.each(function(){+if($(this).is(selector))+results=results.add(this)+results=results.add(selector,this)+})+returnresults+}pjax.defaults={timeout: 650,
@@ -468,4+492,5 @@
$(window).hashchange();}+})(jQuery);
The text was updated successfully, but these errors were encountered:
The title tag is not updated - (FF12, and Chrome)
I don't know how to make a patch but for a fix - my git diff looks like this
The text was updated successfully, but these errors were encountered: