Load icons for addressbooks, fix statuses for types other than files

remotes/origin/stable45
Michael Gapczynski 13 years ago
parent 03d65af5dc
commit 14d13a740f
  1. 1
      apps/contacts/js/settings.js
  2. 2
      lib/public/share.php

@ -4,6 +4,7 @@ OC.Contacts.Settings = OC.Contacts.Settings || {
this.Addressbook.adrsettings = $('.addressbooks-settings').first();
this.Addressbook.adractions = $('#contacts-settings').find('div.actions');
console.log('actions: ' + this.Addressbook.adractions.length);
OC.Share.loadIcons('addressbook');
},
Addressbook:{
showActions:function(act) {

@ -506,7 +506,7 @@ class Share {
if ($itemType == 'file' || $itemType == 'folder') {
$select = '*PREFIX*share.id, item_type, *PREFIX*share.parent, share_type, *PREFIX*fscache.path as file_source';
} else {
$select = 'id, item_source, parent, share_type';
$select = 'id, item_type, item_source, parent, share_type';
}
} else {
if (isset($uidOwner)) {

Loading…
Cancel
Save