Correctly test empty fieldnames in on_change_with
issue8537 review273661002
This commit is contained in:
1 parent
6b9d63ca46
commit
67285ecbc3
1 file changed
+1
-1
+1
-1
@@ -1044,7 +1044,7 @@
|
||||
}
|
||||
var result;
|
||||
fieldnames = Object.keys(fieldnames);
|
||||
if (fieldnames) {
|
||||
if (fieldnames.length) {
|
||||
try {
|
||||
if (fieldnames.length == 1) {
|
||||
fieldname = fieldnames[0];
|
||||
|
||||
Reference in new issue
Block a user