projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #12176 from vinuvarshith/dev-core-133-reply-to-check
[civicrm-core.git]
/
js
/
crm.ajax.js
diff --git
a/js/crm.ajax.js
b/js/crm.ajax.js
index 9cb5eb601e0985c32784f8fa7724f2657be552b4..e1742da8fd9873c3bd318435de350b867686df80 100644
(file)
--- a/
js/crm.ajax.js
+++ b/
js/crm.ajax.js
@@
-68,7
+68,7
@@
url: CRM.url('civicrm/ajax/rest'),
dataType: 'json',
data: params,
- type: params.action.indexOf('get')
< 0 ? 'POST' : 'GE
T'
+ type: params.action.indexOf('get')
=== 0 ? 'GET' : 'POS
T'
});
if (status) {
// Default status messages