[FileManager] updated FileManager sources
authorPiotr Dabrowski <p.dabrowski2@samsung.com>
Wed, 16 Oct 2013 10:15:38 +0000 (12:15 +0200)
committerPiotr Dabrowski <p.dabrowski2@samsung.com>
Wed, 16 Oct 2013 10:15:38 +0000 (12:15 +0200)
Change-Id: Ifb1f6e1991574864f3f45eaaa655fc23c4308360

js/app.ui.js

index 9bce138..161e240 100644 (file)
@@ -279,7 +279,7 @@ function Ui() {
                },
 
                saveNewFolder: function Ui_saveNewFolder(e) {
-                       var folderName = $('#newFolderName').val().trim(), status = true,
+                       var folderName = $('#newFolderName').val(), status = true,
                                open = function () {
                                        $("#addFolderPopup").popup('open', {
                                                positionTo: "window"
@@ -510,7 +510,7 @@ function Ui() {
                        $('#fileList').empty();
 
                        for (i = 0; i < len; i = i + 1) {
-                               nodeName = nodes[i].label.trim();
+                               nodeName = nodes[i].label;
                                if (nodeName !== ''
                                                && (nodes[i].type === 0 || nodes[i].type === 'INTERNAL')
                                                && nodeName.indexOf('wgt-') === -1