Commit 3ca6d1c6 authored by Roque Porchetto's avatar Roque Porchetto

Disabling local checks and remote modification check in JIO storage.

parent 68ca2bcc
......@@ -7,7 +7,6 @@
var storage = gadget.state_parameter_dict.jio_storage,
regexp = /^X-Delegate uri="(http[s]*:\/\/[\/\-\[\]{}()*+:?.,\\\^$|#\s\w%]+)"$/,
login_page;
return storage[method_name].apply(storage, argument_list)
.push(undefined, function (error) {
if ((error.target !== undefined) && (error.target.status === 401)) {
......@@ -118,12 +117,20 @@
query: {
query: 'portal_type:"Data Array"',
limit: [0, 10000]
}
},
check_local_modification: false,
check_local_creation: false,
check_local_deletion: false,
check_local_attachment_modification: false,
check_local_attachment_creation: false,
check_local_attachment_deletion: false,
check_remote_modification: false,
check_remote_attachment_modification: false
});
})
.push(function () {
if (navigator.onLine)
return gadget.state_parameter_dict.jio_storage.repair();
return wrapJioCall(gadget, "repair", []);
});
})
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.43097.40216.22715</string> </value>
<value> <string>958.44238.12232.36966</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1492091162.02</float>
<float>1492159585.5</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment