lib/assets/javascripts/scrivito.js in scrivito_sdk-1.4.3 vs lib/assets/javascripts/scrivito.js in scrivito_sdk-1.5.0.rc1
- old
+ new
@@ -2,10 +2,10 @@
if (window.parent !== window) {
var scrivito_ui = window.parent.scrivito;
if (scrivito_ui) {
// In an iframe and parent window contains the UI: in UI mode.
var cms_document = scrivito_ui.cms_element.from_dom_element(document);
- cms_document.install_public_api();
+ cms_document.installPublicApi();
cms_document.add_app_extensions();
// wait for app to be fully loaded
document.addEventListener("DOMContentLoaded", function() {
// wait for UI to be fully loaded