Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / elements / tr-select-expire_months.html
1 <& tr-select-months.html, @_ &>
2 <script>
3 // disable the pkgpart selector if it's set to zero months
4 $().ready(function() {
5   $('#expire_months').on('change', function() {
6     $('#change_to_pkgpart').prop('disabled', this.value == 0);
7   })
8   .trigger('change');
9 });
10 </script>