Pman.Dialog.CoreNotifyRefer.js
"items": [
{
"listeners": {
- "update": "function (_self, record, operation)\n{\n Roo.log(operation);\n if (operation != 'commit') {\n return;\n }\n new Pman.Request({\n url : baseURL + '/Roo/Core_notify_recur',\n method :'POST',\n params : record.data\n });\n \n \n \n}"
+ "update": "function (_self, record, operation)\n{\n Roo.log(operation);\n if (operation != 'commit') {\n return;\n }\n new Pman.Request({\n url : baseURL + '/Roo/Core_notify_recur',\n method :'POST',\n params : record.data,\n success : function()\n {\n //??\n },\n failure : function() {\n Roo.MessageBox.alert(\"Error\", \"There was a problem saving\");\n }\n });\n \n \n \n}"
},
"*prop": "dataSource",
"remoteSort": true,
new Pman.Request({
url : baseURL + '/Roo/Core_notify_recur',
method :'POST',
- params : record.data
+ params : record.data,
+ success : function()
+ {
+ //??
+ },
+ failure : function() {
+ Roo.MessageBox.alert("Error", "There was a problem saving");
+ }
});