1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

inject all dynamically loaded pages

This commit is contained in:
Luke Pulverenti 2015-06-29 14:08:52 -04:00
parent d50e6c28f2
commit e2823d0367

View file

@ -5430,7 +5430,7 @@ $.fn.grid = function( options ) {
//workaround to allow scripts to execute when included in page divs
all.get(0).innerHTML = html;
page = all.find( ":jqmData(role='page'), :jqmData(role='dialog')" ).first();
page = all.find(":jqmData(role='page'), :jqmData(role='dialog')");
//if page elem couldn't be found, create one and insert the body element's contents
if (!page.length) {
@ -5524,7 +5524,8 @@ $.fn.grid = function( options ) {
}
content = this._parse( html, fileUrl );
var allPages = content;
content = content.first();
this._setLoadedTitle( content, html );
// Add the content reference and xhr to our triggerData.
@ -5551,7 +5552,7 @@ $.fn.grid = function( options ) {
this._getBase().rewrite( fileUrl, content );
}
this._include( content, settings );
this._include(allPages, settings);
// Remove loading message.
if ( settings.showLoadMsg ) {