From e6e0d410ac92818679c03fc9bf5359562df81921 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 08 May 2012 05:38:39 -0400 Subject: [PATCH] TinyMCE 3.5 --- program/js/tiny_mce/plugins/table/js/cell.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/js/tiny_mce/plugins/table/js/cell.js b/program/js/tiny_mce/plugins/table/js/cell.js index d6f3290..02ecf22 100644 --- a/program/js/tiny_mce/plugins/table/js/cell.js +++ b/program/js/tiny_mce/plugins/table/js/cell.js @@ -137,7 +137,7 @@ do { if (cell == tdElm) break; - col += cell.getAttribute("colspan"); + col += cell.getAttribute("colspan")?cell.getAttribute("colspan"):1; } while ((cell = nextCell(cell)) != null); for (var i=0; i<rows.length; i++) { @@ -152,7 +152,7 @@ cell = updateCell(cell, true); break; } - curr += cell.getAttribute("colspan"); + curr += cell.getAttribute("colspan")?cell.getAttribute("colspan"):1; } while ((cell = nextCell(cell)) != null); } -- Gitblit v1.9.1