added missing semicolons to javascript code
This commit is contained in:
parent
4081db19e1
commit
c99c1d52b5
|
@ -5,14 +5,14 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function set_openid(openid, pr)
|
function set_openid(openid, pr)
|
||||||
{
|
{
|
||||||
u = openid.search('<username>')
|
u = openid.search('<username>');
|
||||||
if (u != -1) {
|
if (u != -1) {
|
||||||
// openid requires username
|
// openid requires username
|
||||||
user = prompt('Enter your ' + pr + ' username:')
|
user = prompt('Enter your ' + pr + ' username:');
|
||||||
openid = openid.substr(0, u) + user
|
openid = openid.substr(0, u) + user;
|
||||||
}
|
}
|
||||||
form = document.forms['login'];
|
form = document.forms['login'];
|
||||||
form.elements['openid'].value = openid
|
form.elements['openid'].value = openid;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{% include 'flash.html' %}
|
{% include 'flash.html' %}
|
||||||
|
|
Loading…
Reference in New Issue