+ manifold.forward(query, function(data) {
+ manifold.spin($obj, false);
+ if (data.code != 0) { // ERROR OR WARNING, which we don't expect
+ alert("ERROR IN CALLING THE API");
+ validate_callback(false);
+ return;
+ }
+ validate_callback(true);
+ });