mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 14:56:13 -06:00
#1184 Sidebar scroll and search is not working in the admin panel
This commit is contained in:
parent
94af6de8c1
commit
d94da806d2
@ -27,10 +27,12 @@ function phoneMask(fields) {
|
|||||||
|
|
||||||
function maskPhone(name) {
|
function maskPhone(name) {
|
||||||
var currentMask = $("input[name='" + name + "']").attr('placeholder');
|
var currentMask = $("input[name='" + name + "']").attr('placeholder');
|
||||||
$("input[name='" + name + "']").mask(currentMask.replace(/[0-9+]/ig, '9'), {
|
if (currentMask) {
|
||||||
autoclear: true,
|
$("input[name='" + name + "']").mask(currentMask.replace(/[0-9+]/ig, '9'), {
|
||||||
clearIncomplete: true
|
autoclear: true,
|
||||||
});
|
clearIncomplete: true
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user