3.0.5675.0
This commit is contained in:
parent
5f308d38a0
commit
844f27d953
5 changed files with 14 additions and 11 deletions
|
@ -223,7 +223,7 @@
|
|||
function onSearchFormSubmit() {
|
||||
var page = $(this).parents('.page');
|
||||
|
||||
showSearchResults(page, $('#txtLookupName', page).val());
|
||||
showSearchResults(page, $('#txtLookupName', this).val());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1086,7 +1086,7 @@
|
|||
$('.identifyOptionsForm', page).hide();
|
||||
$('.btnIdentifyBack', page).hide();
|
||||
|
||||
$('.popupIdentify', page).popup('open');
|
||||
$('.popupIdentifyItem', page).popup('open');
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1280,7 +1280,7 @@
|
|||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
$('.popupIdentify', page).popup('close');
|
||||
$('.popupIdentifyItem', page).popup('close');
|
||||
|
||||
reload(page);
|
||||
});
|
||||
|
|
|
@ -418,7 +418,10 @@
|
|||
|
||||
query.StartIndex = index;
|
||||
query.Limit = limit;
|
||||
query.Fields = fields;
|
||||
|
||||
if (fields) {
|
||||
query.Fields += "," + fields;
|
||||
}
|
||||
|
||||
return ApiClient.getItems(Dashboard.getCurrentUserId(), query);
|
||||
|
||||
|
@ -460,12 +463,12 @@
|
|||
|
||||
if (query.IncludeItemTypes == "Audio") {
|
||||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
html = "<div style='max-width:1000px;margin:auto;'>" + LibraryBrowser.getListViewHtml({
|
||||
items: result.Items,
|
||||
playFromHere: true,
|
||||
defaultAction: 'playallfromhere',
|
||||
smallIcon: true
|
||||
});
|
||||
}) + "</div>";
|
||||
}
|
||||
else if (query.IncludeItemTypes == "Movie" || query.IncludeItemTypes == "Trailer") {
|
||||
|
||||
|
@ -513,10 +516,10 @@
|
|||
}
|
||||
else {
|
||||
|
||||
html = LibraryBrowser.getListViewHtml({
|
||||
html = "<div style='max-width:1000px;margin:auto;'>" + LibraryBrowser.getListViewHtml({
|
||||
items: result.Items,
|
||||
smallIcon: true
|
||||
});
|
||||
}) + "</div>";
|
||||
}
|
||||
|
||||
html += LibraryBrowser.getQueryPagingHtml({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue