Explorar el Código

Cleanup old log and fix share icon sidebar opening in breadcrumbs

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
John Molakvoæ (skjnldsv) hace 4 años
padre
commit
f8a36630e7

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
apps/files_sharing/js/dist/additionalScripts.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
apps/files_sharing/js/dist/additionalScripts.js.map


+ 0 - 1
apps/files_sharing/src/share.js

@@ -254,7 +254,6 @@
 		 * @returns {boolean} true if the icon was set, false otherwise
 		 */
 		_updateFileActionIcon: function($tr, hasUserShares, hasLinkShares) {
-			console.info('object');
 			// if the statuses are loaded already, use them for the icon
 			// (needed when scrolling to the next page)
 			if (hasUserShares || hasLinkShares || $tr.attr('data-share-recipient-data') || $tr.attr('data-share-owner')) {

+ 2 - 2
apps/files_sharing/src/sharebreadcrumbview.js

@@ -67,8 +67,8 @@
 			})
 
 			var path = fileInfoModel.attributes.path + '/' + fileInfoModel.attributes.name
-			OCA.Files.Sidebar.file = path
-			OCA.Files.Sidebar.activeTab = 'sharing'
+			OCA.Files.Sidebar.open(path)
+			OCA.Files.Sidebar.setActiveTab('sharing')
 		}
 	})
 

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio