Clean secure iframe code

This commit is contained in:
yflory
2017-09-06 18:26:10 +02:00
parent 04a04aef2b
commit 0423a5f4e2
7 changed files with 221 additions and 217 deletions

View File

@@ -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 = {