|
Lines 161-166
Link Here
|
| 161 |
|
161 |
|
| 162 |
[% INCLUDE 'opac-bottom.inc' %] |
162 |
[% INCLUDE 'opac-bottom.inc' %] |
| 163 |
[% BLOCK jsinclude %] |
163 |
[% BLOCK jsinclude %] |
|
|
164 |
<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/plugins/jquery.validate.min.js"></script> |
| 164 |
<script type="text/javascript">//<![CDATA[ |
165 |
<script type="text/javascript">//<![CDATA[ |
| 165 |
$(document).ready(function(){ |
166 |
$(document).ready(function(){ |
| 166 |
$(".none").click(function(){ |
167 |
$(".none").click(function(){ |
|
Lines 173-178
Link Here
|
| 173 |
$("#rss"+newid).removeAttr("checked"); |
174 |
$("#rss"+newid).removeAttr("checked"); |
| 174 |
} |
175 |
} |
| 175 |
}); |
176 |
}); |
|
|
177 |
|
| 178 |
$("form[name='opacmessaging']").validate({ |
| 179 |
rules: { |
| 180 |
SMSnumber: { |
| 181 |
number: true |
| 182 |
} |
| 183 |
}, |
| 184 |
submitHandler: function(form) { |
| 185 |
if (form.beenSubmitted){ |
| 186 |
return false; |
| 187 |
} else { |
| 188 |
form.beenSubmitted = true; |
| 189 |
form.submit(); |
| 190 |
} |
| 191 |
} |
| 192 |
}); |
| 193 |
|
| 176 |
$("#info_digests").tooltip(); |
194 |
$("#info_digests").tooltip(); |
| 177 |
}); |
195 |
}); |
| 178 |
//]]> |
196 |
//]]> |
| 179 |
- |
|
|