diff app/view/form/Ortszuordnung.js @ 1295:171eacf989d8

Show error and warnings in new forms
author Maximilian Krambach <mkrambach@intevation.de>
date Thu, 02 Feb 2017 11:04:01 +0100
parents e9f812528324
children 3025014e83c6
line wrap: on
line diff
--- a/app/view/form/Ortszuordnung.js	Thu Feb 02 10:34:53 2017 +0100
+++ b/app/view/form/Ortszuordnung.js	Thu Feb 02 11:04:01 2017 +0100
@@ -208,7 +208,7 @@
                 for (var i = 0; i < content.length; i++) {
                     errorText += i18n.getMsg(content[i].toString()) + '\n';
                 }
-                element.markInvalid(errorText);
+                element.showErrors(errorText);
             }
         }
      },

http://lada.wald.intevation.org