lib/commonAPI/coreapi/public/api/rhoapi.js in rhodes-5.5.0.7 vs lib/commonAPI/coreapi/public/api/rhoapi.js in rhodes-5.5.0.22
- old
+ new
@@ -192,10 +192,11 @@
*/
// === Core parts ============================================================
+ var baseCallbackId = new Date().valueOf();
var idCount = 0;
var pendingCallbacks = {};
function getVmID() {
return window['__rhoJsVmID'] || null;
@@ -206,10 +207,10 @@
function nextId(tag) {
if ('undefined' == typeof tag || !tag)
tag = RHO_ID_PARAM;
- return (tag + '#' + idCount++);
+ return (tag + '#' + baseCallbackId + idCount++);
}
function toBool(value) {
if (value && 'string' == typeof value) {
return (value.toLowerCase() == "true")