|
|
@ -327,7 +327,7 @@ define([
|
|
|
|
if (framework.isReadOnly()) {
|
|
|
|
if (framework.isReadOnly()) {
|
|
|
|
$container.addClass('cp-app-readonly');
|
|
|
|
$container.addClass('cp-app-readonly');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
framework.setFileImporter({}, function (content, file) {
|
|
|
|
framework.setFileImporter({}, function (content /*, file */) {
|
|
|
|
var parsed;
|
|
|
|
var parsed;
|
|
|
|
try { parsed = JSON.parse(content); }
|
|
|
|
try { parsed = JSON.parse(content); }
|
|
|
|
catch (e) { return void console.error(e); }
|
|
|
|
catch (e) { return void console.error(e); }
|
|
|
|