From a20915664dc35cbc915e06bd881ac0384329fb79 Mon Sep 17 00:00:00 2001 From: Ibrahim Muhammad Nada Date: Fri, 29 Oct 2021 19:06:00 +0300 Subject: [PATCH] GitHub issue#11299 fix v8 (#11493) * adding validation * adding localization keys * applying cleaning up notes * fix spaces * revert ex.xml * spaces again * keep it DRY * chenge hasTabsAndFirstRender to hasTabsOrFirstRender Co-authored-by: inada --- .../nestedcontent.doctypepicker.html | 9 +++++++-- src/Umbraco.Web.UI/Umbraco/config/lang/en.xml | 19 +++++++++---------- .../Umbraco/config/lang/en_us.xml | 1 + 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.doctypepicker.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.doctypepicker.html index fa146f12f04b..f429c04f1d31 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.doctypepicker.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.doctypepicker.html @@ -22,7 +22,7 @@ - {{ph = placeholder(config);""}} + {{ph = placeholder(config);hasTabsOrFirstRender = (elemTypeTabs[config.ncAlias].length || config.ncAlias=='');""}}