@ -272,7 +272,7 @@ define([
var initialState = modalState . owned || modalState . store ;
var initialState = modalState . owned || modalState . store ;
var initialDisabled = modalState . owned ? { disabled : true } : { } ;
var initialDisabled = modalState . owned ? { disabled : true } : { } ;
var manualStore = autoStore === 1 ? undefined :
var manualStore = autoStore === 1 ? undefined :
UI . createCheckbox ( 'cp-upload-store' , isFolderUpload ? ( Messages . uploadFolder _modal _forceSave || "Store files in your cryptDrive" ) : Messages . autostore _forceSave , initialState , {
UI . createCheckbox ( 'cp-upload-store' , isFolderUpload ? ( Messages . uploadFolder _modal _forceSave ) : Messages . autostore _forceSave , initialState , {
input : initialDisabled
input : initialDisabled
} ) ;
} ) ;
return manualStore ;
return manualStore ;
@ -341,15 +341,14 @@ define([
// Ask for name, password and owner
// Ask for name, password and owner
var content = h ( 'div' , [
var content = h ( 'div' , [
h ( 'h4' , Messages . uploadFolder _modal _title || "Folder upload options" ) ,
h ( 'h4' , Messages . uploadFolder _modal _title ) ,
UIElements . setHTML ( h ( 'label' , { for : 'cp-upload-name' } ) , Messages . fm _folderName ) ,
UIElements . setHTML ( h ( 'label' , { for : 'cp-upload-name' } ) , Messages . fm _folderName ) ,
h ( 'input#cp-upload-foldername' , { type : 'text' , placeholder : foldername , value : foldername } ) ,
h ( 'input#cp-upload-foldername' , { type : 'text' , placeholder : foldername , value : foldername } ) ,
h ( 'label' , { for : 'cp-upload-password' } , Messages . uploadFolder _modal _filesPassword || "Files password" ) ,
h ( 'label' , { for : 'cp-upload-password' } , Messages . uploadFolder _modal _filesPassword ) ,
UI . passwordInput ( { id : 'cp-upload-password' } ) ,
UI . passwordInput ( { id : 'cp-upload-password' } ) ,
h ( 'span' , {
h ( 'span' , {
style : 'display:flex;align-items:center;justify-content:space-between'
style : 'display:flex;align-items:center;justify-content:space-between'
} , [
} , [
UI . createCheckbox ( 'cp-upload-owned' , Messages . uploadFolder _modal _owner || "Owned files" , modalState . owned ) ,
createHelper ( '/faq.html#keywords-owned' , Messages . creation _owned1 )
createHelper ( '/faq.html#keywords-owned' , Messages . creation _owned1 )
] ) ,
] ) ,
manualStore
manualStore