Compare tab against view index less or equals to 0
The view index may be -1 is the view is not yet displayed. Closes #14961 (grafted from 7267bae222e053d7ebfb59981ee13ae941b469dd) --HG-- branch : 8.0
This commit is contained in:
+1
-1
@@ -827,7 +827,7 @@
|
||||
}
|
||||
var compare = Sao.common.compare;
|
||||
return (
|
||||
(this.screen.view_index === 0) &&
|
||||
(this.screen.view_index <= 0) &&
|
||||
(this.screen.model_name === attributes.model) &&
|
||||
(this.attributes.res_id === attributes.res_id) &&
|
||||
(compare(
|
||||
|
||||
Reference in New Issue
Block a user