projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM-10693 - change PRINT_JSON constant from '6' to 'json' for readability
[civicrm-core.git]
/
js
/
Common.js
diff --git
a/js/Common.js
b/js/Common.js
index 68fdb87bdbdd820fa33df76d912bbc238b0ed28b..073064e55c0515054f60ea16a50913c202d19fbe 100644
(file)
--- a/
js/Common.js
+++ b/
js/Common.js
@@
-841,7
+841,7
@@
CRM.validate = CRM.validate || {
_formatUrl: function(url) {
// Add snippet argument to url
if (url.search(/[&?]snippet=/) < 0) {
- url += (url.indexOf('?') < 0 ? '?' : '&') + 'snippet=
6
';
+ url += (url.indexOf('?') < 0 ? '?' : '&') + 'snippet=
json
';
}
return url;
},