Enable templates in pad
This commit is contained in:
@@ -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