Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
OSDI
Commits
c7603819
Commit
c7603819
authored
Oct 04, 2018
by
Andy Gu
Browse files
civiendpointimport
parent
fd50c4d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/CRM/Osdi/Page/Configure.tpl
View file @
c7603819
...
...
@@ -16,8 +16,8 @@
</td>
</tr>
<tr
class=
"crm-osdi-configure-import-endpoint"
>
<td
class=
"label"
><label
for=
"civiendpoint"
>
OSDI endpoint (root)
</label></td>
<td><input
type=
"text"
name=
"civiendpoint"
id=
"civiendpoint"
><br
/></td>
<td
class=
"label"
><label
for=
"civiendpoint
import
"
>
OSDI endpoint (root)
</label></td>
<td><input
type=
"text"
name=
"civiendpoint
import
"
id=
"civiendpoint
import
"
><br
/></td>
</tr>
<tr
class=
"crm-osdi-configure-import-apikey"
>
<td
class=
"label"
><label
for=
"apikey"
>
API Key
</label></td>
...
...
@@ -428,7 +428,7 @@
var
rule
=
-
1
;
if
(
isInt
(
data
[
"
rule
"
]))
{
rule
=
data
[
"
rule
"
];
}
var
endpoint
=
data
[
"
civiendpoint
"
];
var
endpoint
=
data
[
"
civiendpoint
import
"
];
if
(
data
[
"
resource
"
]
==
1
)
{
console
.
log
(
"
calling api
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment