Improve folder subscription widget

This commit is contained in:
Francis Lachapelle
2014-11-12 10:44:43 -05:00
parent 87897644f5
commit a292f669a2
6 changed files with 66 additions and 65 deletions
@@ -197,6 +197,7 @@
dropdownCss.top = $window.innerHeight - dropdownHeight - 5;
if (dropdownHeight > $window.innerHeight) {
// Resize height of dropdown to fit window
dropdownCss.top = 5;
dropdownCss.height = ($window.innerHeight - 10) + 'px';
}
}
@@ -273,10 +274,7 @@
};
}],
link: function(scope, element, attrs, controller) {
// NOTE: We could also make these modifications in the wox template
element.addClass('joyride-tip-guide');
angular.element(element.children()[0]).addClass('joyride-content-wrapper');
element.prepend('<span class="joyride-nub left"></span>');
}
};
}])
@@ -187,7 +187,6 @@
User.$$resource.userResource(this.uid).fetch(null, 'foldersSearch', param).then(function(data) {
_this.$$folders = data;
deferred.resolve(data);
console.debug(JSON.stringify(data, undefined, 2));
return data;
});
}