mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 09:56:15 -04:00
import: setting for allowing import without author existing
This commit is contained in:
parent
9fdb9e224c
commit
bfca481b0b
5 changed files with 32 additions and 4 deletions
|
@ -408,7 +408,7 @@ var padeditbar = (function()
|
|||
toolbar.registerCommand("import_export", function () {
|
||||
toolbar.toggleDropDown("import_export", function(){
|
||||
|
||||
if (clientVars.thisUserHasEditedThisPad) {
|
||||
if (clientVars.thisUserHasEditedThisPad || clientVars.allowAnyoneToImport) {
|
||||
// the user has edited this pad historically or in this session
|
||||
$('#importform').show();
|
||||
$('#importmessagepermission').hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue