mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
set highlight and unhighligth functions in validator
This commit is contained in:
parent
7bc2b140b9
commit
a34d2d8855
|
@ -68,6 +68,12 @@ $(document).ready( function() {
|
||||||
timeout: 1500,
|
timeout: 1500,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
highlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(validClass).addClass(errorClass);
|
||||||
|
},
|
||||||
|
unhighlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(errorClass).addClass(validClass);
|
||||||
|
},
|
||||||
<?php
|
<?php
|
||||||
if($enablelargefileupload) {
|
if($enablelargefileupload) {
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user