diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 3a918c4..d108113 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3618,7 +3618,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic for (var i = 0; i <= $rootScope.resieTextArray.length - 1; i++) { if($rootScope.resieTextArray[i].layerName == CangedTextAreaName) { - if (/(\r\n)/gm.test($rootScope.resieTextArray[i].Rect_Text) || /\s/.test($rootScope.resieTextArray[i].Rect_Text)) { + if (/(\r\n)/gm.test($rootScope.resieTextArray[i].Rect_Text) || (/\s/.test($rootScope.resieTextArray[i].Rect_Text) != true)) { textAftrResize = ($rootScope.resieTextArray[i].Rect_Text).replace(/(\r\n)/gm, ""); for (var i = 0;i <= $rootScope.textWidth.length - 1; i++) { if ($rootScope.textWidth[i].id == layer.name) { @@ -4197,7 +4197,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic var textAftrResize; for (var i = 0; i <= $rootScope.duplicateResizeTextArray.length - 1; i++) { if ($rootScope.duplicateResizeTextArray[i].layerName == CangedTextAreaName) { - if (/(\r\n)/gm.test($rootScope.duplicateResizeTextArray[i].Rect_Text) || /\s/.test($rootScope.duplicateResizeTextArray[i].Rect_Text)) { + if (/(\r\n)/gm.test($rootScope.duplicateResizeTextArray[i].Rect_Text) || (/\s/.test($rootScope.duplicateResizeTextArray[i].Rect_Text != true))) { textAftrResize = ($rootScope.duplicateResizeTextArray[i].Rect_Text).replace(/(\r\n)/gm, ""); for (var i = 0; i <= $rootScope.duplicatetextWidth.length - 1; i++) { if ($rootScope.duplicatetextWidth[i].id == layer.name) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-body-view-list.html b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-body-view-list.html index 5f4ffc1..b609b3f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-body-view-list.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/da/da-body-view-list.html @@ -1,52 +1,52 @@ -