diff --git a/dashboard-ui/edititemimages.html b/dashboard-ui/edititemimages.html
index eb56800756..3eecd402c3 100644
--- a/dashboard-ui/edititemimages.html
+++ b/dashboard-ui/edititemimages.html
@@ -105,7 +105,7 @@
-
+
-
+
+
+
+
+
diff --git a/dashboard-ui/scripts/edititemimages.js b/dashboard-ui/scripts/edititemimages.js
index cfaf490b66..ed1cca916c 100644
--- a/dashboard-ui/scripts/edititemimages.js
+++ b/dashboard-ui/scripts/edititemimages.js
@@ -7,6 +7,7 @@
var browsableImageStartIndex = 0;
var browsableImageType = 'Primary';
var selectedProvider;
+ var allLanguages = false;
function updateTabs(page, item) {
@@ -56,6 +57,7 @@
options.type = browsableImageType;
options.startIndex = browsableImageStartIndex;
options.limit = browsableImagePageSize;
+ options.IncludeAllLanguages = allLanguages;
var provider = selectedProvider || '';
@@ -574,6 +576,14 @@
reloadBrowsableImages(page);
});
+ $('#chkAllLanguages', page).on('change', function () {
+
+ browsableImageStartIndex = 0;
+ allLanguages = this.checked;
+
+ reloadBrowsableImages(page);
+ });
+
}).on('pagebeforeshow', "#editItemImagesPage", function () {
var page = this;