Skip to content

Commit 4673b13

Browse files
author
Alexey Zarakovskiy
committed
Text fix
1 parent d1091ae commit 4673b13

File tree

1 file changed

+2
-2
lines changed
  • dxa-framework/dxa-common-impl/src/main/java/com/sdl/webapp/common/impl/taglib/xpm

1 file changed

+2
-2
lines changed

dxa-framework/dxa-common-impl/src/main/java/com/sdl/webapp/common/impl/taglib/xpm/XpmButtonTag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected HtmlNode generateXpmMarkup() {
2929
String title = "Go Back";
3030
String editUrl = "javascript:history.back()";
3131
return HtmlBuilders.div()
32-
.withClass("xpm-button" + (cssClass == null ? "" : cssClass))
32+
.withClass("xpm-button" + (cssClass == null ? "" : " " + cssClass))
3333
.withNode(HtmlBuilders.a(editUrl)
3434
.withClass("fa-stack fa-lg")
3535
.withTitle(title)
@@ -45,7 +45,7 @@ protected HtmlNode generateXpmMarkup() {
4545
String editUrl = ApplicationContextHolder.getContext().getBean(WebRequestContext.class).getLocalization().localizePath(
4646
this.region.getXpmMetadata().get(RegionModelImpl.INCLUDED_FROM_PAGE_FILE_NAME_XPM_METADATA_KEY).toString());
4747
return HtmlBuilders.div()
48-
.withClass("xpm-button" + (cssClass == null ? "" : cssClass))
48+
.withClass("xpm-button" + (cssClass == null ? "" : " " + cssClass))
4949
.withNode(HtmlBuilders.a(editUrl)
5050
.withClass("fa-stack fa-lg")
5151
.withTitle(title)

0 commit comments

Comments
 (0)