Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for remove Backup btn from overwrite upload dialog window. #1624

Closed
misaon opened this issue Aug 26, 2016 · 2 comments
Closed

Option for remove Backup btn from overwrite upload dialog window. #1624

misaon opened this issue Aug 26, 2016 · 2 comments
Assignees
Labels

Comments

@misaon
Copy link

misaon commented Aug 26, 2016

Can you make some option, where i disable this button (function) ?
Thanks a lot

@misaon misaon changed the title Option for remove Backup from overwrite upload dialog window. Option for remove Backup btn from overwrite upload dialog window. Aug 26, 2016
@nao-pon nao-pon self-assigned this Aug 28, 2016
@nao-pon
Copy link
Member

nao-pon commented Aug 28, 2016

@misaon I added a new option overwriteUploadConfirm

/**
 * Confirmation dialog displayed at the time of overwriting upload
 * 
 * @type Boolean
 * @default true
 */
overwriteUploadConfirm : true,

e.g.

var options = {
    url  : 'php/connector.php',
    lang : 'en',
    overwriteUploadConfirm : false
}
$('#elfinder').elfinder(options);

Thanks! 👍

@misaon
Copy link
Author

misaon commented Aug 28, 2016

And I thank you very much 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants