From 5a5318bc09d209b6c3621c7b7e46aad253d7b90e Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 12 Mar 2015 00:28:41 +0100 Subject: [PATCH] Fixed incorrect casing. --- .../Modules/Orchard.Layouts/Scripts/LayoutDecoder.js | 2 +- .../Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml | 2 +- .../Modules/Orchard.Layouts/Views/ElementEditor.cshtml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Layouts/Scripts/LayoutDecoder.js b/src/Orchard.Web/Modules/Orchard.Layouts/Scripts/LayoutDecoder.js index 1f10a35b5..0c15288cc 100644 --- a/src/Orchard.Web/Modules/Orchard.Layouts/Scripts/LayoutDecoder.js +++ b/src/Orchard.Web/Modules/Orchard.Layouts/Scripts/LayoutDecoder.js @@ -23,6 +23,6 @@ } }; - LayoutEditor.DecodeLayoutGraph = decodeGraph; + LayoutEditor.decodeLayoutGraph = decodeGraph; })(LayoutEditor || (LayoutEditor = {})); \ No newline at end of file diff --git a/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml b/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml index 04201d3c5..29fc83dbe 100644 --- a/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml @@ -40,7 +40,7 @@ var editorConfig = @Html.Raw(Model.ConfigurationData); var editorCanvasData = @Html.Raw(Model.Data); - LayoutEditor.DecodeLayoutGraph(editorCanvasData); + LayoutEditor.decodeLayoutGraph(editorCanvasData); window.layoutEditor = new LayoutEditor.Editor(editorConfig, editorCanvasData); })(jQuery); diff --git a/src/Orchard.Web/Modules/Orchard.Layouts/Views/ElementEditor.cshtml b/src/Orchard.Web/Modules/Orchard.Layouts/Views/ElementEditor.cshtml index b2c51544c..f76b63940 100644 --- a/src/Orchard.Web/Modules/Orchard.Layouts/Views/ElementEditor.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Layouts/Views/ElementEditor.cshtml @@ -45,8 +45,8 @@ elementEditorModel: @Html.Raw(Model.ElementEditorModel.ToJson()) }; - LayoutEditor.DecodeLayoutGraph(payload.element); - LayoutEditor.DecodeLayoutGraph(payload.elementEditorModel); + LayoutEditor.decodeLayoutGraph(payload.element); + LayoutEditor.decodeLayoutGraph(payload.elementEditorModel); window.parent.currentDialog.trigger("command", payload); });