Lines 44-50
Link Here
|
44 |
|
44 |
|
45 |
[% ELSIF op=='invite' %] |
45 |
[% ELSIF op=='invite' %] |
46 |
<div id="invite"> |
46 |
<div id="invite"> |
47 |
<form method="post" onsubmit="return $.trim($('#invite_address').val())!='';"> |
47 |
<form id="share_list"> |
48 |
<fieldset class="rows"> |
48 |
<fieldset class="rows"> |
49 |
<ol> |
49 |
<ol> |
50 |
<input type="hidden" name="op" value="conf_invite"/> |
50 |
<input type="hidden" name="op" value="conf_invite"/> |
Lines 89-92
Link Here
|
89 |
</div> <!-- / .container-fluid --> |
89 |
</div> <!-- / .container-fluid --> |
90 |
</div> <!-- / .main --> |
90 |
</div> <!-- / .main --> |
91 |
[% INCLUDE 'opac-bottom.inc' %] |
91 |
[% INCLUDE 'opac-bottom.inc' %] |
92 |
[% BLOCK jsinclude %][% END %] |
92 |
[% BLOCK jsinclude %] |
|
|
93 |
<script type="text/javascript"> |
94 |
//<![CDATA[ |
95 |
$(document).ready(function(){ |
96 |
$("#share_list").on('submit', function(e) { |
97 |
var address = $("#invite_address").val(); |
98 |
if ( address.length == 0) { |
99 |
e.preventDefault(); |
100 |
} |
101 |
}); |
102 |
}); |
103 |
//]]> |
104 |
</script> |
105 |
[% END %] |