FixedError#14425 Null Checkbox automatically unmarked
Signed-off-by: Kartik Kathuria <kathuriakartik0@gmail.com>
This commit is contained in:
parent
73427358f4
commit
219df7a48f
@ -823,7 +823,15 @@ function PMA_makegrid (t, enableResize, enableReorder, enableVisib, enableGridEd
|
||||
$checkbox.prop('checked', false);
|
||||
});
|
||||
}
|
||||
|
||||
//if some text is written in textbox automatically unmark the null checkbox and if it is emptied again mark the checkbox.
|
||||
$(g.cEdit).find('.edit_box').on('input',function(){
|
||||
if ($(g.cEdit).find('.edit_box').val()!=''){
|
||||
$checkbox.prop('checked', false);
|
||||
}
|
||||
else {
|
||||
$checkbox.prop('checked', true);
|
||||
}
|
||||
});
|
||||
// if null checkbox is clicked empty the corresponding select/editor.
|
||||
$checkbox.click(function () {
|
||||
if ($td.is('.enum')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user