fixes #709 - Add option to show all languages in image interface
This commit is contained in:
parent
ec6a6c0edf
commit
b8c0aeae80
2 changed files with 2 additions and 16 deletions
|
@ -7,7 +7,6 @@
|
|||
var browsableImageStartIndex = 0;
|
||||
var browsableImageType = 'Primary';
|
||||
var selectedProvider;
|
||||
var allLanguages = false;
|
||||
|
||||
function updateTabs(page, item) {
|
||||
|
||||
|
@ -57,7 +56,6 @@
|
|||
options.type = browsableImageType;
|
||||
options.startIndex = browsableImageStartIndex;
|
||||
options.limit = browsableImagePageSize;
|
||||
options.IncludeAllLanguages = allLanguages;
|
||||
|
||||
var provider = selectedProvider || '';
|
||||
|
||||
|
@ -576,14 +574,6 @@
|
|||
reloadBrowsableImages(page);
|
||||
});
|
||||
|
||||
$('#chkAllLanguages', page).on('change', function () {
|
||||
|
||||
browsableImageStartIndex = 0;
|
||||
allLanguages = this.checked;
|
||||
|
||||
reloadBrowsableImages(page);
|
||||
});
|
||||
|
||||
}).on('pagebeforeshow', "#editItemImagesPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue