diff --git a/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl b/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl
index 61ab22c22b..fa5f0c7c96 100644
--- a/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl
+++ b/specialpurpose/ebay/webapp/ebay/find/EbayAdvancedSearch.ftl
@@ -377,7 +377,7 @@ under the License.
- ${uiLabelMap.CommonFind}
+ ${uiLabelMap.CommonFind}
|
diff --git a/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl b/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
index 3ade47c9b6..fe91003e1a 100644
--- a/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
+++ b/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
@@ -30,11 +30,13 @@ under the License.
function activateSubmitButton() {
categ = document.forms["ProductsExportToEbay"].ebayCategory.value;
- if (categ != null && (categ.substring(0, 1) == 'Y' || categ == '')) {
- document.forms["ProductsExportToEbay"].submitButton.disabled = false;
- } else {
- document.forms["ProductsExportToEbay"].submitButton.disabled = true;
- document.forms["ProductsExportToEbay"].submitButton.value = "Please select a category";
+ if (document.forms["ProductsExportToEbay"].submitButton) {
+ if (categ != null && (categ.substring(0, 1) == 'Y' || categ == '')) {
+ document.forms["ProductsExportToEbay"].submitButton.disabled = false;
+ } else {
+ document.forms["ProductsExportToEbay"].submitButton.disabled = true;
+ document.forms["ProductsExportToEbay"].submitButton.value = "Please select a category";
+ }
}
}
@@ -57,7 +59,7 @@ under the License.
- <#if hideExportOptions == "N">
+ <#if hideExportOptions?has_content && hideExportOptions == "N">
| ${uiLabelMap.CommonCountry} |
|