noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 27/73: Javascript : waiting box display when


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 27/73: Javascript : waiting box display when exporting in PDF or CSV
Date: Fri, 28 May 2021 05:26:27 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit fe8f13b1bc412fd4f72f5ddc75f74dd584831797
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sun Apr 18 14:22:20 2021 +0200

    Javascript : waiting box display when exporting in PDF or CSV
---
 html/js/scripts.js | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/html/js/scripts.js b/html/js/scripts.js
index 5fd54e1..401ce3e 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -4052,4 +4052,15 @@ function download_document(p_url)
     waiting_box();
     document.location=p_url;
     remove_waiting_box();
-}
\ No newline at end of file
+}
+/**
+ * @brief download a document from a form
+ */
+function download_document_form(p_form_id) 
+{
+    waiting_box();
+    var url="export.php?"+$(p_form_id).serialize();
+   document.location=url;
+   remove_waiting_box();
+   return false;
+}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]