Coverity - null pointer exception
Variable 'row' could be null in some cases. And set css to variable which is pointing to null causes error. Therefore there is new check. Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
1 parent
a2525ff645
commit
d4ad0ca04c
1 file changed
+2
@@ -5767,6 +5767,8 @@ exp.fluid_layout = IPA.fluid_layout = function(spec) {
|
||||
that.on_visible_change = function(event) {
|
||||
|
||||
var row = that._get_row(event);
|
||||
if (!row) return;
|
||||
|
||||
if (event.visible) {
|
||||
row.css('display', '');
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user