diff --git a/erp_web/index.html b/erp_web/index.html index 8641424c..9a83e699 100644 --- a/erp_web/index.html +++ b/erp_web/index.html @@ -191,5 +191,6 @@ + \ No newline at end of file diff --git a/erp_web/pages/manage/functions.html b/erp_web/pages/manage/functions.html index 46eeb482..82d8671e 100644 --- a/erp_web/pages/manage/functions.html +++ b/erp_web/pages/manage/functions.html @@ -390,7 +390,7 @@ $("#Sort").textbox("setValue", rowsdata.sort); $("#Enabled").attr("checked", rowsdata.enabled); $("#Type").textbox("setValue", rowsdata.type); - if (rowsdata.pushbtn != "undefined" && rowsdata.pushbtn != "") { + if (rowsdata.pushbtn) { var arr = rowsdata.pushbtn.split(","); var pushBtnArray = []; for (var i = 0; i < arr.length; i++) {