[Catalyst-commits] r13878 - trunk/examples/CatalystAdvent/root/2010

dhoss at dev.catalyst.perl.org dhoss at dev.catalyst.perl.org
Mon Dec 20 19:45:56 GMT 2010


Author: dhoss
Date: 2010-12-20 19:45:56 +0000 (Mon, 20 Dec 2010)
New Revision: 13878

Modified:
   trunk/examples/CatalystAdvent/root/2010/19.pod
Log:
slight modification

Modified: trunk/examples/CatalystAdvent/root/2010/19.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2010/19.pod	2010-12-20 18:50:31 UTC (rev 13877)
+++ trunk/examples/CatalystAdvent/root/2010/19.pod	2010-12-20 19:45:56 UTC (rev 13878)
@@ -436,7 +436,9 @@
   // to ONE url without major hackery.
   $("#dedata").click(function(){ 
 	var gr = $("#tposts").jqGrid('getGridParam','selrow');
-	if( gr != null ) $("#tposts").jqGrid('delGridRow', gr, { ajaxDelOptions: { contentType: "application/json", mtype: 'POST', }, serializeRowData: function(data) {
+	if( gr != null ) $("#tposts").jqGrid('delGridRow', gr, { 
+    ajaxDelOptions: { contentType: "application/json", mtype: 'POST', },
+    serializeRowData: function(data) {
         return JSON.stringify(data);
     },  "url": '/entry/' + gr + '/delete', "reloadAfterSubmit":"false" });
 	else alert("Please Select Row to delete!");




More information about the Catalyst-commits mailing list