issues/27: cabinet patient registration on test
This commit is contained in:
committed by
Valeriy Petrov
parent
a6d9526d73
commit
0460846dac
@@ -1,4 +1,5 @@
|
||||
const helper = require("./helper.js");
|
||||
const testSdk = require("./testSdk.js");
|
||||
|
||||
function esia() {
|
||||
if (document.location.search == '?esia=true') {
|
||||
@@ -39,6 +40,14 @@ function esia() {
|
||||
|
||||
function loadSDK(controller) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
if (testSdk.install()) {
|
||||
console.log(controller + ' - test sdk (sova.local)');
|
||||
window.webSDK = new WrSDK();
|
||||
esia();
|
||||
resolve(window.webSDK);
|
||||
return;
|
||||
}
|
||||
|
||||
var script = document.getElementById('sdk-infoclinica');
|
||||
|
||||
if (script == null) {
|
||||
|
||||
Reference in New Issue
Block a user