kopia lustrzana https://github.com/c9/core
Fix opening the test config from the Cloud9 menu
rodzic
d15880f167
commit
3475a001e5
|
@ -108,7 +108,7 @@
|
|||
"c9.ide.save": "#e00549cb0f",
|
||||
"c9.ide.scm": "#0bccfb982b",
|
||||
"c9.ide.terminal.monitor": "#b76f1c9f24",
|
||||
"c9.ide.test": "#6bb1636f86",
|
||||
"c9.ide.test": "#cf0766483f",
|
||||
"c9.ide.test.mocha": "#4d3ad597be",
|
||||
"c9.ide.theme.flat": "#2de8414db7",
|
||||
"c9.ide.threewaymerge": "#229382aa0b",
|
||||
|
|
|
@ -1075,7 +1075,7 @@ define(function(require, module, exports) {
|
|||
options.document.title = basename(path);
|
||||
options.document.tooltip = path;
|
||||
}
|
||||
if (typeof options.value == "string")
|
||||
if (typeof options.value == "string" && !options.newOnError)
|
||||
options.document.value = options.value;
|
||||
// if (options.document.filter === undefined)
|
||||
// options.document.filter = true;
|
||||
|
@ -1091,7 +1091,7 @@ define(function(require, module, exports) {
|
|||
var doc = options.document;
|
||||
var loadFromDisk = path
|
||||
&& (!doc || doc.value === undefined)
|
||||
&& options.value === undefined
|
||||
&& (options.value === undefined || options.newOnError)
|
||||
// autoload to false prevents loading data, used by image editor
|
||||
&& (!editor || editor.autoload !== false);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue