[Pkg-owncloud-commits] [owncloud] 72/457: Closes "New" dropdown when switching category

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:05:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 581227324a8510688c40e9effc8b2fe6a355eba1
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Tue May 19 14:47:13 2015 +0200

    Closes "New" dropdown when switching category
    
    * fixes #16394
    * return false - stops all following event callbacks
---
 apps/files/js/navigation.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files/js/navigation.js b/apps/files/js/navigation.js
index be385f2..83cd556 100644
--- a/apps/files/js/navigation.js
+++ b/apps/files/js/navigation.js
@@ -124,7 +124,7 @@
 			var $target = $(ev.target);
 			var itemId = $target.closest('li').attr('data-id');
 			this.setActiveItem(itemId);
-			return false;
+			ev.preventDefault();
 		}
 	};
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list