Details
Description
When loading a page from an application that uses icefaces-compat (ice:* components), the compat.js is loaded into the page but there are some dependencies in the compat status.js file on icepush.js and these will throw exceptions. For example, in Chrome's console I see:
Uncaught TypeError: Object #<an Object> has no method 'onBlockingConnectionUnstable'
In the status.js file, the onload function appears to register some functions that are only available in icepush.js (the onBlocking* ones):
onLoad(window, function() {
ice.onSubmitSend(function() {
indctrs && on(indctrs.busy);
});
ice.onSubmitResponse(function() {
indctrs && off(indctrs.busy);
});
ice.onServerError(function() {
indctrs && on(indctrs.serverError);
});
ice.onBlockingConnectionUnstable(function() {
indctrs && on(indctrs.connectionTrouble);
});
ice.onBlockingConnectionLost(function() {
indctrs && on(indctrs.connectionLost);
});
ice.onSessionExpiry(function() {
indctrs && on(indctrs.sessionExpired);
});
});
Uncaught TypeError: Object #<an Object> has no method 'onBlockingConnectionUnstable'
In the status.js file, the onload function appears to register some functions that are only available in icepush.js (the onBlocking* ones):
onLoad(window, function() {
ice.onSubmitSend(function() {
indctrs && on(indctrs.busy);
});
ice.onSubmitResponse(function() {
indctrs && off(indctrs.busy);
});
ice.onServerError(function() {
indctrs && on(indctrs.serverError);
});
ice.onBlockingConnectionUnstable(function() {
indctrs && on(indctrs.connectionTrouble);
});
ice.onBlockingConnectionLost(function() {
indctrs && on(indctrs.connectionLost);
});
ice.onSessionExpiry(function() {
indctrs && on(indctrs.sessionExpired);
});
});
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion