entry-form: Clear YAML filename after loading
This way the test case can be re-loaded; otherwise it is not recognized as a change and does not trigger the event.master
parent
a52cbcea41
commit
4b1a72db81
|
@ -1515,11 +1515,18 @@ var client = ( function()
|
||||||
yamlconsole.style.display = '';
|
yamlconsole.style.display = '';
|
||||||
yamlconsole.textContent = '';
|
yamlconsole.textContent = '';
|
||||||
|
|
||||||
|
if ( yamlbrowse.files.length === 0 )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
runYamlTestCases(
|
runYamlTestCases(
|
||||||
Array.prototype.slice.call( yamlbrowse.files, 0 ),
|
Array.prototype.slice.call( yamlbrowse.files, 0 ),
|
||||||
createYamlRunner( yamlconsole )
|
createYamlRunner( yamlconsole )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
yamlbrowse.value = '';
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue