Skip to content

Commit

Permalink
#90 | Cannot display field name
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-null committed Mar 27, 2017
1 parent 82d7ba2 commit 0fd19e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/sc_ext/modules/fieldInspector/FieldInspectorModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ namespace SitecoreExtensions.Modules.FieldInspector {
});
request.execute();
}
;

private getItemFields(itemID: string, callback?: any) {
var request = new Http.HttpRequest(this.buildEndpointURL(itemID), Http.Method.GET, (e) => {
var data = e.currentTarget.responseText;
Expand All @@ -270,7 +270,7 @@ namespace SitecoreExtensions.Modules.FieldInspector {
var section = allSections[index] as HTMLTableDataCellElement;

if (section.className == "FieldSection") {
let sectionName = section.innerText.replace(" ", "_");
let sectionName = section.innerText.replace(/ /g, "_");
let sectionID = "Section_" + sectionName;
currentSection = document.querySelector(".scEditorSections [id^='" + sectionID + "']");
index++;
Expand Down

0 comments on commit 0fd19e8

Please sign in to comment.