Clean secure iframe code
This commit is contained in:
@@ -256,7 +256,7 @@ define([
|
||||
readOnly = metadataMgr.getPrivateData().readOnly;
|
||||
|
||||
var titleCfg = { getHeadingText: CodeMirror.getHeadingText };
|
||||
Title = common.createTitle(titleCfg, config.onLocal, common);
|
||||
Title = common.createTitle(titleCfg, config.onLocal);
|
||||
|
||||
var configTb = {
|
||||
displayed: ['title', 'useradmin', 'spinner', 'share', 'userlist', 'newpad', 'limit'],
|
||||
@@ -369,7 +369,7 @@ define([
|
||||
}
|
||||
}
|
||||
};
|
||||
common.initFilePicker(common, fileDialogCfg);
|
||||
common.initFilePicker(fileDialogCfg);
|
||||
APP.$mediaTagButton = $('<button>', {
|
||||
title: Messages.filePickerButton,
|
||||
'class': 'cp-toolbar-rightside-button fa fa-picture-o',
|
||||
@@ -379,7 +379,7 @@ define([
|
||||
types: ['file'],
|
||||
where: ['root']
|
||||
};
|
||||
common.openFilePicker(common, pickerCfg);
|
||||
common.openFilePicker(pickerCfg);
|
||||
}).appendTo($rightside);
|
||||
|
||||
};
|
||||
@@ -489,7 +489,7 @@ define([
|
||||
}
|
||||
|
||||
if (isNew) {
|
||||
common.openTemplatePicker(common);
|
||||
common.openTemplatePicker();
|
||||
}
|
||||
|
||||
var fmConfig = {
|
||||
|
||||
Reference in New Issue
Block a user