'use strict'; pandora.ui.printView = function(data) { var that = Ox.Element().css({padding: '64px 128px'}), $loading = Ox.LoadingScreen().start().appendTo(that), sortKey = pandora.user.ui.listSort[0].key, keys = Ox.unique( ['director', 'id', 'summary', 'title', 'year'].concat(sortKey) ); $($loading.find('img')[0]).attr({ src: Ox.UI.getImageURL('symbolLoadingAnimated', null, 'oxlight') }); Ox.$body.css({ background: 'rgb(255, 255, 255)', overflow: 'auto' }); pandora.api.find({ query: pandora.user.ui.find }, function(result) { var totals = pandora.getStatusText(result.data); pandora.api.find({ keys: keys, query: pandora.user.ui.find, range: [0, result.data.items], sort: pandora.user.ui.listSort }, function(result) { var padding; $loading.remove(); $('