From 7f0665783b7a95e69982a17f7472ae2bb1a7c414 Mon Sep 17 00:00:00 2001 From: weiminyu Date: Wed, 11 Jul 2018 09:14:58 -0700 Subject: [PATCH] Fix mismatched parenthesis in domain.soy The code stopped working after a recent soy-to-js compiler change. Impacts include: - The /registrar#domain page only shows part of the contents. - RegistrarConsoleScreenshotTest times out. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=204135349 --- java/google/registry/ui/soy/registrar/Domain.soy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/google/registry/ui/soy/registrar/Domain.soy b/java/google/registry/ui/soy/registrar/Domain.soy index 964d6469e..deefa72e5 100644 --- a/java/google/registry/ui/soy/registrar/Domain.soy +++ b/java/google/registry/ui/soy/registrar/Domain.soy @@ -112,7 +112,7 @@ - {if isNonnull($item['domain:ns'] and isNonnull($item['domain:ns']['domain:hostObj']))} + {if isNonnull($item['domain:ns']) and isNonnull($item['domain:ns']['domain:hostObj'])} {for $hostObj in $item['domain:ns']['domain:hostObj']} {let $hostIdx: index($hostObj) /} {call registry.soy.forms.inputFieldRowWithValue data="all"}