Mercurial > hg > webaudioevaluationtool
diff test_create/test_core.js @ 2909:e2b241c88b74
ITU-R BS.1116 compliant template
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 01 Aug 2017 10:09:26 +0100 |
parents | 9c26e579e64d |
children | bcb741f60298 |
line wrap: on
line diff
--- a/test_create/test_core.js Tue Aug 01 09:13:57 2017 +0100 +++ b/test_create/test_core.js Tue Aug 01 10:09:26 2017 +0100 @@ -440,7 +440,7 @@ }]); AngularInterface.controller("page", ['$scope', '$element', '$window', function ($s, $e, $w) { $s.schema = $w.specification.schema.querySelector("element[name=\"page\"]"); - $s.page.label = "default"; + $s.page.label = $s.page.label || "default"; $s.addInterface = function () { $s.page.addInterface(); };