ewd-client
Advanced tools
Comparing version 1.20.0 to 1.21.0
@@ -6,3 +6,3 @@ /*! | ||
| | | ||
| Copyright (c) 2016-19 M/Gateway Developments Ltd, | | ||
| Copyright (c) 2016-20 M/Gateway Developments Ltd, | | ||
| Redhill, Surrey UK. | | ||
@@ -28,3 +28,3 @@ | All rights reserved. | | ||
29 May 2019 | ||
19 May 2020 | ||
@@ -124,3 +124,11 @@ Thanks to Ward DeBacker for enhancements to the client functionality | ||
cb = function(responseObj) { | ||
if (typeof $ !== 'undefined') $('#' + targetId).html(responseObj.message.content); | ||
if (typeof $ !== 'undefined') { | ||
if (messageObj.params.append) { | ||
console.log('*** appending content to ' + targetId); | ||
$('#' + targetId).append(responseObj.message.content); | ||
} | ||
else { | ||
$('#' + targetId).html(responseObj.message.content); | ||
} | ||
} | ||
callback(fragmentName); | ||
@@ -306,3 +314,4 @@ } | ||
file: params.name, | ||
targetId: params.targetId | ||
targetId: params.targetId, | ||
append: params.append | ||
} | ||
@@ -309,0 +318,0 @@ }, callback); |
{ | ||
"name": "ewd-client", | ||
"version": "1.20.0", | ||
"version": "1.21.0", | ||
"description": "Browser (websocket & HTTP) Client for QEWD applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20010
409