|
|
@ -494,6 +494,7 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
CodeMirror.configureTheme();
|
|
|
|
CodeMirror.configureTheme();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!readOnly) {
|
|
|
|
var fileDialogCfg = {
|
|
|
|
var fileDialogCfg = {
|
|
|
|
onSelect: function (data) {
|
|
|
|
onSelect: function (data) {
|
|
|
|
if (data.type === 'file') {
|
|
|
|
if (data.type === 'file') {
|
|
|
@ -515,6 +516,7 @@ define([
|
|
|
|
};
|
|
|
|
};
|
|
|
|
common.openFilePicker(pickerCfg);
|
|
|
|
common.openFilePicker(pickerCfg);
|
|
|
|
}).appendTo($rightside);
|
|
|
|
}).appendTo($rightside);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
metadataMgr.onChange(function () {
|
|
|
|
metadataMgr.onChange(function () {
|
|
|
|
var md = metadataMgr.getMetadata();
|
|
|
|
var md = metadataMgr.getMetadata();
|
|
|
|