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
Mike Gerwitz 2018-02-16 16:56:33 -05:00
parent a52cbcea41
commit 4b1a72db81
1 changed files with 7 additions and 0 deletions

View File

@ -1515,11 +1515,18 @@ var client = ( function()
yamlconsole.style.display = '';
yamlconsole.textContent = '';
if ( yamlbrowse.files.length === 0 )
{
return;
}
runYamlTestCases(
Array.prototype.slice.call( yamlbrowse.files, 0 ),
createYamlRunner( yamlconsole )
);
yamlbrowse.value = '';
return false;
} );