The last parameter is optional
This commit is contained in:
parent
17b7ff6631
commit
037c3037e6
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ window.GeneralFunctions = window.GeneralFunctions || {};
|
||||||
* @param {String} message The message of the dialog.
|
* @param {String} message The message of the dialog.
|
||||||
* @param {Array} buttons Contains the dialog buttons along with their functions.
|
* @param {Array} buttons Contains the dialog buttons along with their functions.
|
||||||
*/
|
*/
|
||||||
exports.displayMessageBox = function (title, message, buttons) {
|
exports.displayMessageBox = function (title, message, buttons = null) {
|
||||||
if (!title) {
|
if (!title) {
|
||||||
title = '- No Title Provided -';
|
title = '- No Title Provided -';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue