[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13427]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13427] |
Date: |
Fri, 12 Jun 2015 22:07:28 +0000 |
Revision: 13427
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13427
Author: nelson224
Date: 2015-06-12 22:07:27 +0000 (Fri, 12 Jun 2015)
Log Message:
-----------
Added Paths:
-----------
branches/dev-syncromind/rental/js/rental/party.sync.js
Copied: branches/dev-syncromind/rental/js/rental/party.sync.js (from rev 13426,
branches/dev-syncromind/rental/js/rental/common.js)
===================================================================
--- branches/dev-syncromind/rental/js/rental/party.sync.js
(rev 0)
+++ branches/dev-syncromind/rental/js/rental/party.sync.js 2015-06-12
22:07:27 UTC (rev 13427)
@@ -0,0 +1,43 @@
+
+function onSyncronize_party(action)
+{
+ var r = confirm(confirm_msg_sync);
+ if (r != true) {
+ return false;
+ }
+
+ JqueryPortico.execute_ajax(action, function(result){
+ document.getElementById("message").innerHTML = result;
+ oTable.fnDraw();
+ });
+}
+
+function onDelete_party(requestUrl)
+{
+ var r = confirm(confirm_msg_delete);
+ if (r != true) {
+ return false;
+ }
+
+ JqueryPortico.execute_ajax(requestUrl, function(result){
+
+ document.getElementById("message").innerHTML = '';
+
+ if (typeof(result.message) !== 'undefined')
+ {
+ $.each(result.message, function (k, v) {
+ document.getElementById("message").innerHTML =
v.msg;
+ });
+ }
+
+ if (typeof(result.error) !== 'undefined')
+ {
+ $.each(result.error, function (k, v) {
+ document.getElementById("message").innerHTML =
v.msg;
+ });
+ }
+ oTable.fnDraw();
+
+ }, '', "POST", "JSON");
+
+}
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13427],
Nelson Guerra <=