Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: EE-3.0.0.BETA, 3.0.1
-
Component/s: Bridge
-
Labels:None
-
Environment:n/a
-
ICEsoft Forum Reference:
Description
Bridge tries to clean up iframes onBeforeUpdate (ICE-7129), but some iframe elements are undefined:
namespace.onBeforeUpdate(function(updates) {
each(updates.getElementsByTagName('update'), function(update) {
var id = update.getAttribute('id');
var updatedElement = lookupElementById(id);
if (updatedElement) {
each(updatedElement.getElementsByTagName('iframe'), function(iframe) {
[b] iframe.parentNode.removeChild(iframe);[/b]
});
}
});
});
Uncaught TypeError: Cannot read property 'parentNode' of undefined
bridge.js.iface:2822
namespace.onBeforeUpdate(function(updates) {
each(updates.getElementsByTagName('update'), function(update) {
var id = update.getAttribute('id');
var updatedElement = lookupElementById(id);
if (updatedElement) {
each(updatedElement.getElementsByTagName('iframe'), function(iframe) {
[b] iframe.parentNode.removeChild(iframe);[/b]
});
}
});
});
Uncaught TypeError: Cannot read property 'parentNode' of undefined
bridge.js.iface:2822
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion