On Feb 5, 2014, at 11:18 AM, Jon Robson <[email protected]> wrote:

> I had a chat with Chris Steipp and Brandon Harris. I was hoping they
> would chip in here (maybe they are not on the list so cc'ing them)
> 
> From the result of this talk it sounded like we could do login via
> JavaScript as long as we could ensure the user was on http at the time
> of login.
> 
> Effectively something like this...
> <script>
> if ( window.location.protocol == 'https' ) {
> $( '.login' ).on( 'click', doAjaxLogin );
> }
> </script>
> 
> Please correct me if I'm wrong…

        Err, the opposite of what you said in the paragraph but accurate in 
your code.

        We cannot do AJAX logins *unless* the source is https.  


---
Brandon Harris, Senior Designer, Wikimedia Foundation

Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate


_______________________________________________
Mobile-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mobile-l

Reply via email to