diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-20 12:02:08 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-10-26 16:15:15 +0100 |
commit | e19c49295a4bba82b2e1fa613ad03608c79d6443 (patch) | |
tree | db431dbf13f6044a687a03086ec566cb6217e4c2 /settings/js | |
parent | 618a08aa00160c6b709a0da2bf8566b9002073ff (diff) | |
download | nextcloud-server-e19c49295a4bba82b2e1fa613ad03608c79d6443.tar.gz nextcloud-server-e19c49295a4bba82b2e1fa613ad03608c79d6443.zip |
Use speaking ids
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 0734ad54ae0..df1181b1e71 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -40,8 +40,8 @@ OC.Settings.Apps = OC.Settings.Apps || { } var categories = [ - {displayName: t('settings', 'Enabled'), id: '0'}, - {displayName: t('settings', 'Not enabled'), id: '1'} + {displayName: t('settings', 'Enabled'), ident: 'enabled', id: '0'}, + {displayName: t('settings', 'Not enabled'), ident: 'disabled', id: '1'} ]; var source = $("#categories-template").html(); @@ -49,7 +49,7 @@ OC.Settings.Apps = OC.Settings.Apps || { var html = template(categories); $('#apps-categories').html(html); - OC.Settings.Apps.loadCategory(parseInt($('#app-navigation').attr('data-category'), 10)); + OC.Settings.Apps.loadCategory($('#app-navigation').attr('data-category')); this._loadCategoriesCall = $.ajax(OC.generateUrl('settings/apps/categories'), { data:{}, |