bugfix: passing null instead of function

This commit is contained in:
yakxxx 2016-01-22 15:34:45 +01:00
parent 0291287ecb
commit c46c6ca48e
1 changed files with 3 additions and 3 deletions

View File

@ -77,9 +77,9 @@ var messageHandler = (function(my) {
buttons: buttons,
defaultButton: defaultButton,
focus: focus,
loaded: loadedFunction,
submit: submitFunction,
close: closeFunction
loaded: loadedFunction || function(){},
submit: submitFunction || function(){},
close: closeFunction || function(){}
});
};