mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Merge pull request #1710 from RaspAP/maint/cidr-mask-notion
Add form-control support for CIDR masks
This commit is contained in:
commit
b5179f3991
@ -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) {
|
$('#wg-upload,#wg-manual').on('click', function (e) {
|
||||||
if (this.id == 'wg-upload') {
|
if (this.id == 'wg-upload') {
|
||||||
$('#PanelManual').hide();
|
$('#PanelManual').hide();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user