Index: ssts-web/src/main/webapp/disinfectsystem/common/terminateInvoicePlan.js =================================================================== diff -u -r27252 -r27259 --- ssts-web/src/main/webapp/disinfectsystem/common/terminateInvoicePlan.js (.../terminateInvoicePlan.js) (revision 27252) +++ ssts-web/src/main/webapp/disinfectsystem/common/terminateInvoicePlan.js (.../terminateInvoicePlan.js) (revision 27259) @@ -52,7 +52,6 @@ return false; } } - var params = { time:new Date() } @@ -61,7 +60,7 @@ if(endCase == undefined){ return; - }else if(endCase[0] != null&&endCase[0]!=undefined){ + }else if(typeof endCase == 'string'){ Ext.Ajax.request({ url: WWWROOT + url, params: { recyclingAppId : id ,endCause:endCase},