From 26e8a77e46eb63b3182f70e35c929629228c052f Mon Sep 17 00:00:00 2001
From: Michael Ly
Date: Fri, 30 Nov 2018 12:03:36 -0500
Subject: [PATCH] Wait for zone and record set promises in portal before
displaying record sets (#359)
* Add wait for promise.
* Replace event.preventDefault with button type in HTML since buttons default to submit type.
---
.../batchChanges/batchChangeNew.scala.html | 6 ++--
.../batch-change-new.controller.js | 3 --
.../lib/controllers/controller.records.js | 35 +++++++++++--------
3 files changed, 23 insertions(+), 21 deletions(-)
diff --git a/modules/portal/app/views/batchChanges/batchChangeNew.scala.html b/modules/portal/app/views/batchChanges/batchChangeNew.scala.html
index 4294c5eb4..13881480d 100644
--- a/modules/portal/app/views/batchChanges/batchChangeNew.scala.html
+++ b/modules/portal/app/views/batchChanges/batchChangeNew.scala.html
@@ -150,16 +150,16 @@
{{batchError}}
-
+
-
+
Limit reached. Cannot add more than {{batchChangeLimit}} records per batch change.