git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manifold.js disabled TYPE_LIST_OF_RECORDS in _record_equals
[myslice.git]
/
manifoldapi
/
static
/
js
/
manifold.js
diff --git
a/manifoldapi/static/js/manifold.js
b/manifoldapi/static/js/manifold.js
index
e2b06cf
..
ca111de
100644
(file)
--- a/
manifoldapi/static/js/manifold.js
+++ b/
manifoldapi/static/js/manifold.js
@@
-785,6
+785,7
@@
var manifold = {
switch (this_type) {
case TYPE_VALUE:
case TYPE_LIST_OF_VALUES:
switch (this_type) {
case TYPE_VALUE:
case TYPE_LIST_OF_VALUES:
+ case TYPE_LIST_OF_RECORDS:
if (this_value != other_value)
return false;
break;
if (this_value != other_value)
return false;
break;
@@
-792,6
+793,9
@@
var manifold = {
if (!(_record_equals(this_value, other_value, key_fields)))
return false;
break;
if (!(_record_equals(this_value, other_value, key_fields)))
return false;
break;
+ /*
+ XXX WARNING = disabled for OpenFlow plugin !!!
+
case TYPE_LIST_OF_RECORDS:
if (this_value.length != other_value.length)
return false;
case TYPE_LIST_OF_RECORDS:
if (this_value.length != other_value.length)
return false;
@@
-799,6
+803,7
@@
var manifold = {
if (!(_record_equals(this_value[j], other_value[j], key_fields)))
return false;
break;
if (!(_record_equals(this_value[j], other_value[j], key_fields)))
return false;
break;
+ */
}
}
return true;
}
}
return true;