bugfix: passing null instead of function
This commit is contained in:
parent
0291287ecb
commit
c46c6ca48e
|
@ -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(){}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue