mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixed incorrect casing.
This commit is contained in:
@@ -23,6 +23,6 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
LayoutEditor.DecodeLayoutGraph = decodeGraph;
|
LayoutEditor.decodeLayoutGraph = decodeGraph;
|
||||||
|
|
||||||
})(LayoutEditor || (LayoutEditor = {}));
|
})(LayoutEditor || (LayoutEditor = {}));
|
@@ -40,7 +40,7 @@
|
|||||||
var editorConfig = @Html.Raw(Model.ConfigurationData);
|
var editorConfig = @Html.Raw(Model.ConfigurationData);
|
||||||
var editorCanvasData = @Html.Raw(Model.Data);
|
var editorCanvasData = @Html.Raw(Model.Data);
|
||||||
|
|
||||||
LayoutEditor.DecodeLayoutGraph(editorCanvasData);
|
LayoutEditor.decodeLayoutGraph(editorCanvasData);
|
||||||
window.layoutEditor = new LayoutEditor.Editor(editorConfig, editorCanvasData);
|
window.layoutEditor = new LayoutEditor.Editor(editorConfig, editorCanvasData);
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
|
@@ -45,8 +45,8 @@
|
|||||||
elementEditorModel: @Html.Raw(Model.ElementEditorModel.ToJson())
|
elementEditorModel: @Html.Raw(Model.ElementEditorModel.ToJson())
|
||||||
};
|
};
|
||||||
|
|
||||||
LayoutEditor.DecodeLayoutGraph(payload.element);
|
LayoutEditor.decodeLayoutGraph(payload.element);
|
||||||
LayoutEditor.DecodeLayoutGraph(payload.elementEditorModel);
|
LayoutEditor.decodeLayoutGraph(payload.elementEditorModel);
|
||||||
window.parent.currentDialog.trigger("command", payload);
|
window.parent.currentDialog.trigger("command", payload);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user