Hide disabled applications from the context menu in drive

This commit is contained in:
yflory
2017-02-02 18:40:39 +01:00
parent 91299f5f30
commit 2c6b4b9c6a
4 changed files with 12 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ define([
var $parent = $('#buttons');
var options = [];
Config.availablePadTypes.forEach(function (el) {
if (el === 'drive') { return; }
options.push({
tag: 'a',
attributes: {