namejr hace 4 años
padre
commit
3ec5e37de5
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 3 1
      EBook.Web/Common/tasklib_book.js
  2. 1 0
      EBook.Web/EBook.Web.csproj

+ 3 - 1
EBook.Web/Common/tasklib_book.js

@@ -298,7 +298,9 @@ var AdjustTableFunc = function (sWidthVal) {
                         var FLenVal = $(item).find("tr").eq(0).find("td").length;
                         var AllLenArr = [];
                         for (var j = 0; j < FLenVal; j++) {
-                            AllLenArr.push(parseInt($(item).find("tr").eq(0).find("td").eq(j).attr("colspan")));
+                            var colSpanNum = parseInt($(item).find("tr").eq(0).find("td").eq(j).attr("colspan"));
+                            colSpanNum = (colSpanNum == 0 || isNaN(colSpanNum)) ? 1 : colSpanNum
+                            AllLenArr.push(colSpanNum);
                         }
                         var AIndex = 0;
                         for (var j = 0; j < AllLenArr.length; j++) {

+ 1 - 0
EBook.Web/EBook.Web.csproj

@@ -63,6 +63,7 @@
   </ItemGroup>
   <ItemGroup>
     <Content Include="698.html" />
+    <Content Include="AnsText\2021129.txt" />
     <Content Include="AnsText\20578.txt" />
     <Content Include="AnsText\20799.txt" />
     <None Include="AnsText\21255.json" />