gui/js: Now requesting all available content at once, disabling content verification to speed up the work
Change-Id: I787487505bb1d636e4a5a3200d84ff815395ec77
diff --git a/gui/html/chronoshare-helpers.js b/gui/html/chronoshare-helpers.js
index 6e13caf..4f59563 100644
--- a/gui/html/chronoshare-helpers.js
+++ b/gui/html/chronoshare-helpers.js
@@ -87,54 +87,54 @@
document.location = url;
};
+// No need anymore (displaying the whole data set at once)
-displayContent = function (newcontent, more, baseUrl) {
+// displayContent = function (newcontent, more, baseUrl) {
- // if (!PARAMS.offset || PARAMS.offset==0)
- // {
- $("#content").fadeOut ("fast", function () {
- $(this).replaceWith (newcontent);
- $("#content").fadeIn ("fast");
- });
+// // if (!PARAMS.offset || PARAMS.offset==0)
+// // {
+// $("#content").fadeOut ("fast", function () {
+// $(this).replaceWith (newcontent);
+// $("#content").fadeIn ("fast");
+// });
- $("#content-nav").fadeOut ("fast", function () {
- $("#content-nav a").hide ();
+// $("#content-nav").fadeOut ("fast", function () {
+// $("#content-nav a").hide ();
- if (PARAMS.offset !== undefined || more !== undefined) {
- $("#content-nav").fadeIn ("fast");
+// if (PARAMS.offset !== undefined || more !== undefined) {
+// $("#content-nav").fadeIn ("fast");
- if (more !== undefined) {
- $("#get-more").show ();
+// if (more !== undefined) {
+// $("#get-more").show ();
- $("#get-more").unbind ('click').click (function () {
- url = baseUrl;
- url += "&offset="+more;
+// $("#get-more").unbind ('click').click (function () {
+// url = baseUrl;
+// url += "&offset="+more;
- document.location = url;
- });
- }
- if (PARAMS.offset > 0) {
- $("#get-less").show ();
+// document.location = url;
+// });
+// }
+// if (PARAMS.offset > 0) {
+// $("#get-less").show ();
- $("#get-less").unbind ('click').click (function () {
- url = baseUrl;
- if (PARAMS.offset > 1) {
- url += "&offset="+(PARAMS.offset - 1);
- }
+// $("#get-less").unbind ('click').click (function () {
+// url = baseUrl;
+// if (PARAMS.offset > 1) {
+// url += "&offset="+(PARAMS.offset - 1);
+// }
- document.location = url;
- });
- }
- }
- });
- // }
- // else {
- // tbody.children ().each (function (index, row) {
- // $("#history-list-actions").append (row);
- // });
- // }
-};
-
+// document.location = url;
+// });
+// }
+// }
+// });
+// // }
+// // else {
+// // tbody.children ().each (function (index, row) {
+// // $("#history-list-actions").append (row);
+// // });
+// // }
+// };
function custom_alert (output_msg, title_msg)
{