diff --git a/dashboard-ui/library.html b/dashboard-ui/library.html index a203a6316f..ef2ef0db9e 100644 --- a/dashboard-ui/library.html +++ b/dashboard-ui/library.html @@ -14,7 +14,7 @@ ${TabAdvanced}
-

${ReferToMediaLibraryWiki}

+

${ReferToMediaLibraryWiki}

diff --git a/dashboard-ui/scripts/usernew.js b/dashboard-ui/scripts/usernew.js index 318714e9f8..e0b45f5809 100644 --- a/dashboard-ui/scripts/usernew.js +++ b/dashboard-ui/scripts/usernew.js @@ -1,6 +1,6 @@ (function ($, window, document) { - function loadMediaFolders(page, user, mediaFolders) { + function loadMediaFolders(page, mediaFolders) { var html = ''; @@ -14,7 +14,7 @@ var id = 'mediaFolder' + i; - var checkedAttribute = user.Policy.BlockedMediaFolders.indexOf(folder.Id) == -1 && user.Policy.BlockedMediaFolders.indexOf(folder.Name) == -1 ? ' checked="checked"' : ''; + var checkedAttribute = ' checked="checked"'; html += ''; html += ''; @@ -25,7 +25,7 @@ $('.mediaFolderAccess', page).html(html).trigger('create'); } - function loadChannels(page, user, channels) { + function loadChannels(page, channels) { var html = ''; @@ -39,7 +39,7 @@ var id = 'channels' + i; - var checkedAttribute = user.Policy.BlockedChannels.indexOf(folder.Id) == -1 ? ' checked="checked"' : ''; + var checkedAttribute = ' checked="checked"'; html += ''; html += ''; @@ -56,9 +56,9 @@ } } - function loadUser(page, user) { + function loadUser(page) { - $('#txtUserName', page).val(user.Name); + $('#txtUserName', page).val(''); Dashboard.showLoadingMsg(); @@ -68,8 +68,8 @@ $.when(promise4, promise5).done(function (response4, response5) { - loadMediaFolders(page, user, response4[0].Items); - loadChannels(page, user, response5[0].Items); + loadMediaFolders(page, response4[0].Items); + loadChannels(page, response5[0].Items); Dashboard.hideLoadingMsg(); }); @@ -116,19 +116,9 @@ }; } - function getUser() { - - return { - Configuration: { - BlockedMediaFolders: [], - BlockedChannels: [] - } - }; - } - function loadData(page) { - loadUser(page, getUser()); + loadUser(page); } window.NewUserPage = new newUserPage(); diff --git a/dashboard-ui/usernew.html b/dashboard-ui/usernew.html index 8e7f1dbd8a..1b4bb4a23a 100644 --- a/dashboard-ui/usernew.html +++ b/dashboard-ui/usernew.html @@ -14,6 +14,7 @@

  • +
    ${LabelNewUserNameHelp}
  • diff --git a/dashboard-ui/wizardlibrary.html b/dashboard-ui/wizardlibrary.html index 4316e7f001..32bdf59705 100644 --- a/dashboard-ui/wizardlibrary.html +++ b/dashboard-ui/wizardlibrary.html @@ -19,7 +19,7 @@

    -

    ${ReferToMediaLibraryWiki}

    +

    ${ReferToMediaLibraryWiki}