|
|
@@ -1705,7 +1705,11 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class({
|
|
|
|
|
|
if (!this.json.validation) return true;
|
|
|
if (!this.json.validation.code) return true;
|
|
|
+
|
|
|
+ this.currentRouteName = routeName;
|
|
|
var flag = this.form.Macro.exec(this.json.validation.code, this);
|
|
|
+ this.currentRouteName = "";
|
|
|
+
|
|
|
if (!flag) flag = MWF.xApplication.process.Xform.LP.notValidation;
|
|
|
if (flag.toString() != "true") {
|
|
|
this.notValidationMode(flag);
|