Commit 6680dca681524266bbbfc13953d9694ff72fc592

Authored by unknown
1 parent d8e2ede3

Commit change for variable name

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -1351,7 +1351,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
1351 1351 add: function (layer) {
1352 1352  
1353 1353 //$rootScope.TextPropertyArray.push({ Text1: '', Align: '', FontColor: '', FontSize: '', FontStyle: '', FontFamily: '' });
1354   - $rootScope.TextPropertyArray.push({ layerName: layer.name, Text1: layer.text, Align: layer.align, FontColor: layer.fillStyle, FontSize: layer.fontSize, FontStyle: layer.fontStyle, FontFamily: layer.fontFamily, TextDecoration: $rootScope.underlineText });
  1354 + $rootScope.TextPropertyArray.push({ layerName: layer.name, Rect_Text: layer.text, Align: layer.align, FontColor: layer.fillStyle, FontSize: layer.fontSize, FontStyle: layer.fontStyle, FontFamily: layer.fontFamily, TextDecoration: $rootScope.underlineText });
1355 1355 }
1356 1356 })
1357 1357 // Draw rectangle
... ... @@ -1425,7 +1425,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location",
1425 1425 for (var i = 0; i <= $rootScope.TextPropertyArray.length - 1; i++) {
1426 1426 if ($rootScope.TextPropertyArray[i].layerName == TextAreaRectNameConcatenated) {
1427 1427  
1428   - var textArrVal = $rootScope.TextPropertyArray[i].Text1;
  1428 + var textArrVal = $rootScope.TextPropertyArray[i].Rect_Text;
1429 1429 $("#text_area").val(textArrVal);
1430 1430 var fontStyleProp = $rootScope.TextPropertyArray[i].FontStyle;
1431 1431 var fontWeightProp = fontStyleProp.split(" ");
... ...