瀏覽代碼

Merge pull request #44 from huqi1980/master

修复提示bug
huqi1980 6 年之前
父節點
當前提交
9766bd1ea2

+ 1 - 1
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;

+ 1 - 1
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(){