From b8c0aeae8068bcdebd75e4b021624d5968eaeee4 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 11 Feb 2014 22:33:59 -0500 Subject: [PATCH] fixes #709 - Add option to show all languages in image interface --- dashboard-ui/edititemimages.html | 8 ++------ dashboard-ui/scripts/edititemimages.js | 10 ---------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dashboard-ui/edititemimages.html b/dashboard-ui/edititemimages.html index 3eecd402c3..eb56800756 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 ed1cca916c..cfaf490b66 100644 --- a/dashboard-ui/scripts/edititemimages.js +++ b/dashboard-ui/scripts/edititemimages.js @@ -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;