kopia lustrzana https://github.com/c9/core
Fix +12516 onNo is not a function
rodzic
5a9530c4c9
commit
506c26865f
|
@ -27,6 +27,11 @@ define(function(require, module, exports) {
|
|||
/***** Methods *****/
|
||||
|
||||
function show(title, header, msg, onYes, onNo, options) {
|
||||
if (onYes && typeof onYes !== "function")
|
||||
return show(title, header, msg, null, null, onYes);
|
||||
if (onNo && typeof onNo !== "function")
|
||||
return show(title, header, msg, onYes, null, onNo);
|
||||
|
||||
if (!options)
|
||||
options = {};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue