summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSabri Bousselmi2013-03-05 03:27:27 (EST)
committerSven Rottstock2013-03-11 06:38:52 (EDT)
commite91d22706a5af897f02bd1501021600fbba43077 (patch)
treedad7a9e58f5738c2da1c58f1ce549a9a8498f38f
parent340c3099c546401fb214c033e0d0fa9b1cff054d (diff)
downloadorg.eclipse.stardust.ui.web-e91d22706a5af897f02bd1501021600fbba43077.zip
org.eclipse.stardust.ui.web-e91d22706a5af897f02bd1501021600fbba43077.tar.gz
org.eclipse.stardust.ui.web-e91d22706a5af897f02bd1501021600fbba43077.tar.bz2
Jira-ID: CRNT-28162
fix issue(remove copyTo option) git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@63476 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/resources/META-INF/xhtml/js/m_emailEventIntegrationOverlay.js23
1 files changed, 12 insertions, 11 deletions
diff --git a/web-modeler/src/main/resources/META-INF/xhtml/js/m_emailEventIntegrationOverlay.js b/web-modeler/src/main/resources/META-INF/xhtml/js/m_emailEventIntegrationOverlay.js
index ca146ef..08d94bd 100644
--- a/web-modeler/src/main/resources/META-INF/xhtml/js/m_emailEventIntegrationOverlay.js
+++ b/web-modeler/src/main/resources/META-INF/xhtml/js/m_emailEventIntegrationOverlay.js
@@ -88,10 +88,10 @@ define(
.text(
m_i18nUtils
.getProperty("modeler.element.properties.emailEvent.delete"));
- jQuery("label[for='copyToInput']")
+ /* jQuery("label[for='copyToInput']")
.text(
m_i18nUtils
- .getProperty("modeler.element.properties.emailEvent.copyTo"));
+ .getProperty("modeler.element.properties.emailEvent.copyTo")); */
this.configurationSpan = this.mapInputId("configuration");
@@ -123,9 +123,9 @@ define(
.mapInputId("pollingDelayUnitSelect"); */
this.unseenInput = this.mapInputId("unseenInput");
this.deleteInput = this.mapInputId("deleteInput");
- this.copyToInput = this.mapInputId("copyToInput");
+ /* this.copyToInput = this.mapInputId("copyToInput");
this.copyToFolderInput = this
- .mapInputId("copyToFolderInput");
+ .mapInputId("copyToFolderInput"); */
this
.initializeIntervalUnitSelect(this.connectionTimeoutUnitSelect);
@@ -148,8 +148,8 @@ define(
this.registerForRouteChanges(this.pollingDelayUnitSelect); */
this.registerForRouteChanges(this.unseenInput);
this.registerForRouteChanges(this.deleteInput);
- this.registerForRouteChanges(this.copyToInput);
- this.registerForRouteChanges(this.copyToFolderInput);
+ /* this.registerForRouteChanges(this.copyToInput);
+ this.registerForRouteChanges(this.copyToFolderInput); */
};
@@ -207,10 +207,10 @@ define(
uri += "&delete=";
uri += this.deleteInput.prop("checked");
- if (this.copyToInput.prop("checked")) {
+ /* if (this.copyToInput.prop("checked")) {
uri += "&copyTo=";
uri += this.copyToFolderInput.val();
- }
+ } */
uri=uri.replace(/&/g, "&");
return uri;
};
@@ -357,11 +357,11 @@ define(
this.unseenInput.prop("checked", value == "true");
} else if (name == "delete") {
this.deleteInput.prop("checked", value == "true");
- } else if (name == "copyTo") {
+ }/* else if (name == "copyTo") {
this.copyToInput.prop("checked", true);
this.copyToFolderInput.val(value);
} else if (name == "fetchSize") {
- }
+ }*/
}
this.parameterMappingsPanel.setScopeModel(this.page
.getModel());
@@ -375,6 +375,7 @@ define(
EmailEventIntegrationOverlay.prototype.validate = function() {
this.mailServerInput.removeClass("error");
this.accountInput.removeClass("error");
+
if (this.mailServerInput.val() == null
|| this.mailServerInput.val() == "") {
@@ -396,7 +397,7 @@ define(
this.page.propertiesPanel.showErrorMessages();
return false;
- }
+ }
return true;
};