diff --git a/o2web/source/x_component_Setting/Document.js b/o2web/source/x_component_Setting/Document.js index 220fba9146ef5a99bb4229b83998db9d5c2fb4ee..9c4ab9207db09f2606acb2fa8e40a5744e9ab1bb 100644 --- a/o2web/source/x_component_Setting/Document.js +++ b/o2web/source/x_component_Setting/Document.js @@ -698,7 +698,7 @@ MWF.xApplication.Setting.Document.List.ItemEditor = new Class({ var value = (typeOf(input)=="element" && input.tagName.toString().toLowerCase()!="select") ? input.get("value") : input.getValue(); if (!value && value!==false){ flag = false; - this.app.notice(this.lp.pleaseInput+this.lp.list[k], "error"); + this.app.notice(this.lp.pleaseInput+(this.lp.list[k] || k), "error"); return false; }else{ values[k] = value; diff --git a/o2web/source/x_component_query_TableDesigner/Table.js b/o2web/source/x_component_query_TableDesigner/Table.js index 07a305384fb8bbbd8b3fe18808bc3b1ffdfebe96..75c50b205d689631e69c15b8abf0694467762490 100644 --- a/o2web/source/x_component_query_TableDesigner/Table.js +++ b/o2web/source/x_component_query_TableDesigner/Table.js @@ -80,7 +80,7 @@ MWF.xApplication.query.TableDesigner.Table = new Class({ createColmunEditTable: function(){ this.colmunListTable = new Element("table", {"styles": this.css.colmunListTable}).inject(this.domListNode); var tr = this.colmunListTable.insertRow(-1); - var td = tr. + var td = tr.insertCell(); }, changeViewSelected: function(){