From 3634f696a7688237ff96b4d062e9e4fb13c61e9a Mon Sep 17 00:00:00 2001 From: Kartheek Palla Date: Wed, 10 Oct 2018 14:27:07 +0530 Subject: [PATCH] Issue #SB-5810 fix: special character issue fix --- org.ekstep.contentmeta-1.5/editor/contentmetaApp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.ekstep.contentmeta-1.5/editor/contentmetaApp.js b/org.ekstep.contentmeta-1.5/editor/contentmetaApp.js index 985a2dfe6..28559d326 100644 --- a/org.ekstep.contentmeta-1.5/editor/contentmetaApp.js +++ b/org.ekstep.contentmeta-1.5/editor/contentmetaApp.js @@ -211,7 +211,8 @@ angular.module('contentmetaApp', []).controller('contentmetaController', ['$scop } $scope.changeTitle = function() { if ($scope.content) { - $scope.content.name = org.ekstep.services.collectionService.removeSpecialChars($scope.content.name); + if($scope.content.visibility === 'Parent') + $scope.content.name = org.ekstep.services.collectionService.removeSpecialChars($scope.content.name); org.ekstep.collectioneditor.api.getService('collection').setNodeTitle($scope.content.name); } }