Opened 15 years ago
Last modified 15 years ago
#7529 closed Bug
IE 6&7: Error when editing cell properties in table — at Initial Version
| Reported by: | Jakub Ś | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | 3.5.3 |
| Keywords: | IBM | Cc: | satya_minnekanti@… |
Description
Happens in IE6 & IE7
Paste the following code:
<p> </p> <table border="1" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="width: 197px"> <p> Ewrew</p> </td> <td style="width: 197px"> <p> 435</p> </td> <td style="width: 197px"> <p> 43543543</p> </td> </tr> <tr> <td style="width: 197px"> <p> Werw</p> </td> <td style="width: 197px"> <p> 435</p> </td> <td style="width: 197px"> <p> click here</p> </td> </tr> <tr> <td style="width: 197px"> <p> 435</p> </td> <td style="width: 197px"> <p> 435435</p> </td> <td style="width: 197px"> <p> ertretretre</p> </td> </tr> </tbody> </table>
Click on cell with value "click here" and choose "cell -> cell properties" from context menu. Don't make any changes in dialog and close it with "Ok" button.
Result: the error is displayed:
function getSelectedCells( selection )
{
// Walker will try to split text nodes, which will make the current selection
// invalid. So save bookmarks before doing anything.
var bookmarks = selection.createBookmarks(); // <-------
tabletools/plugin.js
line 14
