Merge pull request #1710 from RaspAP/maint/cidr-mask-notion

Add form-control support for CIDR masks
This commit is contained in:
Bill Zimmerman
2024-12-11 20:47:55 +01:00
committed by GitHub

View File

@@ -488,6 +488,15 @@ $(document).ready(function(){
});
});
$(document).ready(function() {
$('.cidr').mask('099.099.099.099/099', {
translation: {
'0': { pattern: /[0-9]/ }
},
placeholder: "___.___.___.___/___"
});
});
$('#wg-upload,#wg-manual').on('click', function (e) {
if (this.id == 'wg-upload') {
$('#PanelManual').hide();