[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13000] agreement.edit.js
From: |
Saul |
Subject: |
[Fmsystem-commits] [13000] agreement.edit.js |
Date: |
Mon, 13 Apr 2015 21:13:21 +0000 |
Revision: 13000
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13000
Author: psaul
Date: 2015-04-13 21:13:21 +0000 (Mon, 13 Apr 2015)
Log Message:
-----------
agreement.edit.js
Modified Paths:
--------------
branches/dev-syncromind/property/js/portico/agreement.edit.js
Modified: branches/dev-syncromind/property/js/portico/agreement.edit.js
===================================================================
--- branches/dev-syncromind/property/js/portico/agreement.edit.js
2015-04-13 21:13:02 UTC (rev 12999)
+++ branches/dev-syncromind/property/js/portico/agreement.edit.js
2015-04-13 21:13:21 UTC (rev 13000)
@@ -138,8 +138,28 @@
$('#values_date').val('');
$('#new_index').val('');
}
- });
-
-
-
+ });
+}
+
+onActionsClickDeleteLastIndex=function(type){
+
+ var id = $('#agreementid').val();
+
+ //obteniendo el ultimo registro de edit_item
+ var oSelid = $("#selidsul").val(); //1118
+
+ $.ajax({
+ type: 'POST',
+ dataType: 'json',
+ url: ""+ sUrl_agreement +"&phpgw_return_as=json",
+ data:{ids:oSelid,type:type,id:id},
+ success: function(data) {
+ obj = JSON.parse(data);
+ var newstr = obj.replace("&", "&","gi");
+// console.log(newstr);
+ JqueryPortico.updateinlineTableHelper(oTable0, newstr);
+ $('#values_date').val('');
+ $('#new_index').val('');
+ }
+ });
}
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13000] agreement.edit.js,
Saul <=