diff --git a/dev/View/Popup/FolderCreate.js b/dev/View/Popup/FolderCreate.js index 424f4b74b..ba26bcc67 100644 --- a/dev/View/Popup/FolderCreate.js +++ b/dev/View/Popup/FolderCreate.js @@ -11,7 +11,6 @@ Consts = require('Common/Consts'), Globals = require('Common/Globals'), Utils = require('Common/Utils'), - Translator = require('Common/Translator'), FolderStore = require('Stores/User/Folder'), @@ -29,10 +28,6 @@ { AbstractView.call(this, 'Popups', 'PopupsFolderCreate'); - Translator.initOnStartOrLangChange(function () { - this.sNoParentText = Translator.i18n('POPUPS_CREATE_FOLDER/SELECT_NO_PARENT'); - }, this); - this.folderName = ko.observable(''); this.folderName.focused = ko.observable(false); @@ -50,7 +45,7 @@ } ; - aTop.push(['', this.sNoParentText]); + aTop.push(['', '']); if ('' !== FolderStore.namespace) { @@ -94,8 +89,6 @@ kn.extendAsViewModel(['View/Popup/FolderCreate', 'PopupsFolderCreateViewModel'], FolderCreateView); _.extend(FolderCreateView.prototype, AbstractView.prototype); - FolderCreateView.prototype.sNoParentText = ''; - FolderCreateView.prototype.simpleFolderNameValidation = function (sName) { return (/^[^\\\/]+$/g).test(Utils.trim(sName));