Add OK button to alert

This commit is contained in:
Kevin Sawicki 2017-01-06 08:53:06 -08:00
parent 222734b5f5
commit 6ef1a9150c

View file

@ -32,9 +32,8 @@ void AtomJavaScriptDialogManager::RunJavaScriptDialog(
return;
}
std::vector<std::string> buttons;
std::vector<std::string> buttons = {"OK"};
if (message_type == JavaScriptMessageType::JAVASCRIPT_MESSAGE_TYPE_CONFIRM) {
buttons.push_back("OK");
buttons.push_back("Cancel");
}