Code Block |
---|
<html><head><title>onDelete Example 3</title> <script type="text/javascript"> var userAction; function setUserAction(deleteorremove){ userAction = deleteorremove.useraction; return "[{\"action\":\"validate\",\"result\":\"true\"}]"; } function onPostDeleteJSON(){ if (userAction=='delete'){ window.location = "melt://showAlert/Delete from CRM useraction:"+ userAction; return "[{\"action\":\"validate\",\"result\":\"false\"}]"; }else if (userAction=='remove'){ window.location = "melt://showAlert/Remove from device useraction:"+ userAction; return "[{\"action\":\"validate\",\"result\":\"false\"}]"; } } </script></head><body></Body><body></html> |
Page Comparison
General
Content
Integrations