[
https://issues.apache.org/jira/browse/RIPPLE-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947956#comment-13947956
]
jeremy Colton commented on RIPPLE-56:
-------------------------------------
Hi, thanks for the JS fix. I installed Ripple from Chrome's app store. I
found the ripple.js file under:
C:\Users\<user>\AppData\Local\Google\Chrome\User
Data\Default\Extensions\geelfhphabnejjhdalkjhgipohgpdnoc\0.9.15_0
The "geelfhphabnejjhdalkjhgipohgpdnoc" may be unique to my PC but this lets you
find the file and edit the code. I edited line 47 as you suggested above and
once again I can upload images via Ripple.
Many thanks Stjepan.
> 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
> $> ripple version
> 0.9.20
> Reporter: Andrew Visser
>
> Here is (according to the Chrome debugger) ripple.js line 49275 (and
> surrounding)
> ---------
> 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";
> });
> -----------
> The call to setAttribute() is only passed one argument. That is an
> insufficient number of arguments.
--
This message was sent by Atlassian JIRA
(v6.2#6252)