[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12952] agreement.edit.js
From: |
Saul |
Subject: |
[Fmsystem-commits] [12952] agreement.edit.js |
Date: |
Mon, 06 Apr 2015 23:18:26 +0000 |
Revision: 12952
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12952
Author: psaul
Date: 2015-04-06 23:18:25 +0000 (Mon, 06 Apr 2015)
Log Message:
-----------
agreement.edit.js
Added Paths:
-----------
branches/dev-syncromind/property/js/portico/agreement.edit.js
Added: branches/dev-syncromind/property/js/portico/agreement.edit.js
===================================================================
--- branches/dev-syncromind/property/js/portico/agreement.edit.js
(rev 0)
+++ branches/dev-syncromind/property/js/portico/agreement.edit.js
2015-04-06 23:18:25 UTC (rev 12952)
@@ -0,0 +1,52 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+var sUrl_agreement = phpGWLink('index.php', {'menuaction':
'property.uiagreement.edit_alarm'});
+
+onActionsClick_notify=function(type, ids){
+
+ $.ajax({
+ type: 'POST',
+ dataType: 'json',
+ url: ""+ sUrl_agreement +"&phpgw_return_as=json",
+ data:{ids:ids,type:type},
+ success: function(data) {
+ if( data != null)
+ {
+
+ }
+ }
+ });
+}
+
+onAddClick_Alarm= function(type){
+
+ var day = $('#day_list').val();
+ var hour = $('#hour_list').val();
+ var minute = $('#minute_list').val();
+ var user = $('#user_list').val();
+ var id = $('#agreementid').val();
+
+
+ if(day != '0' && hour != '0' && minute != '0'){
+
+ $.ajax({
+ type: 'POST',
+ dataType: 'json',
+ url: ""+ sUrl_agreement +"&phpgw_return_as=json",
+
data:{day:day,hour:hour,minute:minute,user_list:user,type:type,id:id},
+ success: function(data) {
+// $('#datatable-container_0').fnDraw();
+ }
+ });
+ }
+ else
+ {
+ return false;
+ }
+
+
+
+}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12952] agreement.edit.js,
Saul <=