Andrew Visser created RIPPLE-56:
-----------------------------------
Summary: syntax error: setAttribute() is only being passed 1 arg
Key: RIPPLE-56
URL: https://issues.apache.org/jira/browse/RIPPLE-56
Project: Apache Ripple
Issue Type: Bug
Environment: Chrome
{noformat}
$> ripple version
0.9.20
{noformat}
Reporter: Andrew Visser
Here is (according to the Chrome debugger) ripple.js line 49275 (and
surrounding)
{code}
upload.addEventListener('change', function () {
clear();
var capture = document.createElement(getType());
capture.setAttribute("controls");
capture.style.display = "inline";
capture.style.height = (screen.availHeight - 50) + "px";
capture.src = window.webkitURL.createObjectURL(upload.files[0]);
result.appendChild(capture);
take.style.display = "inline";
});
{code}
The call to setAttribute() is only passed one argument. That is an insufficient
number of arguments.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)