External docked tiles can't be undocked
zeala opened this issue · 1 comments
zeala commented
dwalker11 commented
After some investigation, I discovered that the problems of this issue were two-fold. The CSS positioning of elements did not allow the user to click on the 'undock button'. However, once you resolve that issue you'll discover that clicking on the 'undock button' has no effect on the docked elements.
The issue lies with these few lines of code:
DockingManager.prototype.onUndock = function(message) {
var name = message.windowName;
for (var i = 0; i < windows.length; i++) {
if (windows[i].name === name) {
windows[i].leaveGroup();
}
}
};
The windowName
property extracted from message
parameter is not in the expected format required for this function to work properly. Updating the format of the spotTile's title property seems to resolves this issue.