| Index: ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js b/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
|
| index 583e5468d634099a763e4d0c27516ab0838bc304..36a95dc5866d9c8e34ef0f8fbdb3a23ad512639e 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/ui/dialog_footer.js
|
| @@ -57,6 +57,9 @@ function DialogFooter(dialogType, container, filenameInput) {
|
|
|
| // Initialize the element styles.
|
| container.classList.add('button-panel');
|
| +
|
| + // Set initial label for OK button. The label can be updated dynamically
|
| + // depending on dialog types.
|
| this.okButton.textContent = DialogFooter.getOKButtonLabel_(dialogType);
|
|
|
| // Register event handlers.
|
|
|