A PR would be awesome- thanks Raymond.
On Wed, Mar 12, 2014 at 9:00 PM, Raymond Camden <[email protected]>wrote: > I see this has been reported already as well ( > https://issues.apache.org/jira/browse/ripple). I'd be happy to submit a PR > just to get this part way fixed at least. > > > On Wed, Mar 12, 2014 at 7:46 PM, Raymond Camden <[email protected] > >wrote: > > > Did some debugging. I changed > > > > camera.js, line 51 to > > > > capture.setAttribute("controls",true); > > > > This fixed the bug, but the preview we used to get no longer works. > > > > I can submit a pull request with this fix, but obviously it was just a > > guess. Maybe Chrome recently got more strict about setAttribute. > > > > > > On Wed, Mar 12, 2014 at 7:35 PM, Raymond Camden <[email protected] > >wrote: > > > >> Using the Camera API in the latest Cordova, Ripple, I get this in > console > >> after selecting an image: > >> > >> Uncaught TypeError: Failed to execute 'setAttribute' on 'Element': 2 > >> arguments required, but only 1 present. > >> > >> ripple.js:49275 > >> > >> -- > >> > >> > =========================================================================== > >> Raymond Camden, Web Developer for Adobe > >> > >> Email : [email protected] > >> Blog : www.raymondcamden.com > >> Twitter: cfjedimaster > >> > > > > > > > > -- > > > =========================================================================== > > Raymond Camden, Web Developer for Adobe > > > > Email : [email protected] > > Blog : www.raymondcamden.com > > Twitter: cfjedimaster > > > > > > -- > =========================================================================== > Raymond Camden, Web Developer for Adobe > > Email : [email protected] > Blog : www.raymondcamden.com > Twitter: cfjedimaster > -- Brent Lintner
