Mercurial > lada > lada-client
diff app/controller/form/Ortserstellung.js @ 1354:02252ce0cf1e
Ortserstellung validator: fix reference to form
author | Maximilian Krambach <mkrambach@intevation.de> |
---|---|
date | Tue, 07 Feb 2017 16:44:07 +0100 |
parents | e5235309d461 |
children | d8db43ac9c12 |
line wrap: on
line diff
--- 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; }