Enable templates in pad
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
@import (once) '../../customize/src/less2/include/modal.less';
|
||||
@import (once) '../../customize/src/less2/include/icon-colors.less';
|
||||
@import (once) '../../customize/src/less2/include/fileupload.less';
|
||||
@import (once) '../../customize/src/less2/include/alertify.less';
|
||||
|
||||
.iconColors_main();
|
||||
.fileupload_main();
|
||||
.alertify_main();
|
||||
|
||||
#cp-filepicker-dialog {
|
||||
display: none;
|
||||
|
||||
@@ -24,7 +24,15 @@
|
||||
padding:0;
|
||||
overflow:hidden;
|
||||
}
|
||||
#sbox-filePicker-iframe {
|
||||
position: fixed;
|
||||
top:0; left:0;
|
||||
bottom:0; right:0;
|
||||
width:100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<iframe id="sbox-iframe">
|
||||
<iframe id="sbox-iframe">
|
||||
|
||||
@@ -668,7 +668,12 @@ define([
|
||||
initializing = false;
|
||||
|
||||
if (readOnly) { return; }
|
||||
//TODO UserList.getLastName(toolbar.$userNameButton, newPad);
|
||||
|
||||
|
||||
if (newPad) {
|
||||
common.openTemplatePicker(common);
|
||||
}
|
||||
|
||||
onLocal();
|
||||
editor.focus();
|
||||
if (newPad) {
|
||||
|
||||
Reference in New Issue
Block a user