[Lada-commits] [PATCH] Ortserstellung validator: fix reference to form
Wald Commits
scm-commit at wald.intevation.org
Tue Feb 7 16:44:10 CET 2017
# HG changeset patch
# User Maximilian Krambach <mkrambach at intevation.de>
# Date 1486482247 -3600
# Node ID 02252ce0cf1eb96ca1eb5edaa1138b34b476003f
# Parent 39dbdfa00c91e55959f24d0ef87e8359314ec537
Ortserstellung validator: fix reference to form
diff -r 39dbdfa00c91 -r 02252ce0cf1e app/controller/form/Ortserstellung.js
--- a/app/controller/form/Ortserstellung.js Tue Feb 07 16:06:08 2017 +0100
+++ b/app/controller/form/Ortserstellung.js Tue Feb 07 16:44:07 2017 +0100
@@ -135,7 +135,7 @@
checkCommitEnabled: function(callingEl) {
var panel;
if (callingEl.up) { //called by a field in the form
- panel = callingEl.up('panel').up('panel');
+ panel = callingEl.up('ortserstellungsform');
} else { //called by the form
panel = callingEl.owner;
}
More information about the Lada-commits
mailing list