mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-29 15:15:37 +00:00
Improve folder subscription widget
This commit is contained in:
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user