diff --git a/WebContent/AppFresh/AppFlow/AppFlowCatalogList.jsp b/WebContent/AppFresh/AppFlow/AppFlowCatalogList.jsp index e97ad16f4..7da5e2e79 100644 --- a/WebContent/AppFresh/AppFlow/AppFlowCatalogList.jsp +++ b/WebContent/AppFresh/AppFlow/AppFlowCatalogList.jsp @@ -21,7 +21,7 @@ function importNewFlow() { AsDialog.selectCatalogDialog("SelectFlow", "", "", function(sReturn) { - if (typeof (sReturn) == "undefined" || sReturn.length == 0) + if (typeof (sReturn) == "undefined" || sReturn.length == 0||sReturn=="_CANCEL_"||sReturn=="") return; sReturn = sReturn.split("@"); var FlowNo = sReturn[0]; diff --git a/WebContent/AppFresh/AppFlow/MiddleList.jsp b/WebContent/AppFresh/AppFlow/MiddleList.jsp index e9453f0be..b9a1ac8d1 100644 --- a/WebContent/AppFresh/AppFlow/MiddleList.jsp +++ b/WebContent/AppFresh/AppFlow/MiddleList.jsp @@ -34,7 +34,7 @@ var catalogId = "<%=id%>" var libraryId = ""; AsDialog.selectCatalogDialog("AppPageLibraryList", "", "", function(sReturn) { - if (typeof (sReturn) == "undefined" || sReturn.length == 0) + if (typeof (sReturn) == "undefined" || sReturn.length == 0||sReturn=="_CANCEL_"||sReturn=="") return; sReturn = sReturn.split("@"); libraryId = sReturn[0]; diff --git a/WebContent/AppFresh/AppPage/AppLibraryAdd.jsp b/WebContent/AppFresh/AppPage/AppLibraryAdd.jsp index a0a28337c..59465fab7 100644 --- a/WebContent/AppFresh/AppPage/AppLibraryAdd.jsp +++ b/WebContent/AppFresh/AppPage/AppLibraryAdd.jsp @@ -35,7 +35,7 @@ var doname = ""; AsDialog.selectCatalogDialog(selName, "", "", function(sReturn) { - if (typeof (sReturn) == "undefined" || sReturn.length == 0) + if (typeof (sReturn) == "undefined" || sReturn.length == 0||sReturn=="_CANCEL_"||sReturn=="") return; sReturn = sReturn.split("@"); dono = sReturn[0];