Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Fixed javascript that was breaking the colorpicker.
Browse files Browse the repository at this point in the history
Added to esh per request from @teichsta. See PR #4021.
  • Loading branch information
9037568 committed Feb 12, 2016
1 parent a6511fb commit 6d0d7cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public EList<Widget> renderWidget(Widget w, StringBuilder sb) throws RenderExcep
}
String label = getLabel(cp);
String purelabel = itemUIRegistry.getLabel(w);
purelabel = purelabel.replaceAll("\\\"", "\\\\'");

snippet = StringUtils.replace(snippet, "%id%", itemUIRegistry.getWidgetId(cp));
snippet = StringUtils.replace(snippet, "%category%", getCategory(w));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public EList<Widget> renderWidget(Widget w, StringBuilder sb) throws RenderExcep
}
String label = getLabel(cp);
String purelabel = itemUIRegistry.getLabel(w);
purelabel = purelabel.replaceAll("\\\"", "\\\\'");

snippet = StringUtils.replace(snippet, "%id%", itemUIRegistry.getWidgetId(cp));
snippet = StringUtils.replace(snippet, "%category%", escapeURLPath(itemUIRegistry.getCategory(cp)));
Expand Down

0 comments on commit 6d0d7cd

Please sign in to comment.