|
|
|
@ -21,8 +21,8 @@
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
var operations = '.wr-operations',
|
|
|
|
|
modalPopup = '.wr-modalpopup',
|
|
|
|
|
modalPopupContent = modalPopup + ' .modalpopup-content',
|
|
|
|
|
modalPopup = '.modal',
|
|
|
|
|
modalPopupContent = modalPopup + ' .modal-content',
|
|
|
|
|
navHeight = $('#nav').height(),
|
|
|
|
|
headerHeight = $('header').height(),
|
|
|
|
|
offset = (headerHeight + navHeight),
|
|
|
|
@ -172,14 +172,16 @@ function runOperation(operationName) {
|
|
|
|
|
|
|
|
|
|
var payload, serviceEndPoint;
|
|
|
|
|
if (list[platformTypeConstants.IOS]) {
|
|
|
|
|
payload = operationModule.generatePayload(platformTypeConstants.IOS, operationName, list[platformTypeConstants.IOS]);
|
|
|
|
|
payload =
|
|
|
|
|
operationModule.generatePayload(platformTypeConstants.IOS, operationName, list[platformTypeConstants.IOS]);
|
|
|
|
|
serviceEndPoint = operationModule.getIOSServiceEndpoint(operationName);
|
|
|
|
|
} else if (list[platformTypeConstants.ANDROID]) {
|
|
|
|
|
payload = operationModule
|
|
|
|
|
.generatePayload(platformTypeConstants.ANDROID, operationName, list[platformTypeConstants.ANDROID]);
|
|
|
|
|
serviceEndPoint = operationModule.getAndroidServiceEndpoint(operationName);
|
|
|
|
|
} else if (list[platformTypeConstants.WINDOWS]) {
|
|
|
|
|
payload = operationModule.generatePayload(platformTypeConstants.WINDOWS, operationName, list[platformTypeConstants.WINDOWS]);
|
|
|
|
|
payload = operationModule.generatePayload(platformTypeConstants.WINDOWS, operationName,
|
|
|
|
|
list[platformTypeConstants.WINDOWS]);
|
|
|
|
|
serviceEndPoint = operationModule.getWindowsServiceEndpoint(operationName);
|
|
|
|
|
}
|
|
|
|
|
if (operationName == "NOTIFICATION") {
|
|
|
|
|