kopia lustrzana https://github.com/c9/core
Merge pull request +12517 from c9/fix-questions
Fix minor question dialog issuespull/266/head
commit
f5639acf83
|
@ -108,7 +108,7 @@
|
|||
"c9.ide.run": "#4f0257bc0b",
|
||||
"c9.ide.run.build": "#0598fff697",
|
||||
"c9.ide.run.debug.xdebug": "#9956689819",
|
||||
"c9.ide.save": "#417e4b53c4",
|
||||
"c9.ide.save": "#86f0f38160",
|
||||
"c9.ide.scm": "#ca3c94b84f",
|
||||
"c9.ide.terminal.monitor": "#1a4092ede2",
|
||||
"c9.ide.test": "#a282ec1619",
|
||||
|
|
|
@ -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